Skip to content

Commit

Permalink
fix(android): upload sourcemap file
Browse files Browse the repository at this point in the history
Signed-off-by: Godefroy Ponsinet <godefroy.ponsinet@outlook.com>
  • Loading branch information
90dy committed Aug 27, 2019
1 parent 5c29e47 commit dc95de0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1,560 deletions.
4 changes: 3 additions & 1 deletion client/android/app/upload_sourcemap.sh
@@ -1,7 +1,9 @@
#!/bin/sh
cd ../.. || exit
chmod 700 "${JS_OUTPUT_SOURCE_MAP_FILE}"
curl \
-X POST "https://api.instabug.com/api/sdk/v3/symbols_files" \
-F "symbols_file=@./android-sourcemap.json" \
-F "symbols_file=@${JS_OUTPUT_SOURCE_MAP_FILE}" \
-F "application_token=${INSTABUG_APP_TOKEN}" \
-F "platform=react_native" \
-F "os=android"

0 comments on commit dc95de0

Please sign in to comment.