Revert "Upload the debug symbols of libapp.so to the Play Console (#2101)" (#2138)

This reverts commit 3c67971689.
This commit is contained in:
Vincent Velociter
2025-08-24 07:43:46 -04:00
committed by GitHub
parent 3c67971689
commit 5c0da4edc5
2 changed files with 0 additions and 29 deletions
-2
View File
@@ -38,11 +38,9 @@ end
def deploy_to_play_store(track)
sh "flutter build appbundle -v --obfuscate --split-debug-info=./build/app/outputs/bundle/release/symbols --dart-define=cronetHttpNoPlay=true --dart-define=LICHESS_HOST=lichess.org --dart-define=LICHESS_WS_HOST=socket.lichess.org --dart-define=LICHESS_WS_SECRET=#{ENV['WS_SECRET']}"
sh "./add-debug-symbols.sh"
upload_to_play_store(
track: track,
aab: '../build/app/outputs/bundle/release/app-release.aab',
json_key_data: ENV['PLAY_STORE_CONFIG_JSON'],
mapping: '../build/app/outputs/bundle/release/native-debug-symbols/native-debug-symbols.zip',
)
end
-27
View File
@@ -1,27 +0,0 @@
#!/bin/sh
#
# Because Flutter is not adding the symbols of libapp.so to the App Bundle, this
# script create a native-debug-symbols folder including the libapp.so symbols that
# will be uploaded to the Play Console with Fastlane.
#
# See https://github.com/flutter/flutter/issues/170664.
# Go to project root dir
cd $(dirname $0)/../..
# Go to App Bundle files
cd build/app/outputs/bundle/release
mkdir native-debug-symbols
SYMBOLS_BUNDLE_PATH=BUNDLE-METADATA/com.android.tools.build.debugsymbols
unzip app-release.aab $SYMBOLS_BUNDLE_PATH/* -d tmp-extract-dir
cp -r tmp-extract-dir/$SYMBOLS_BUNDLE_PATH/* native-debug-symbols
cp symbols/app.android-arm64.symbols native-debug-symbols/arm64-v8a/libapp.so.dbg
cp symbols/app.android-arm.symbols native-debug-symbols/armeabi-v7a/libapp.so.dbg
cp symbols/app.android-x64.symbols native-debug-symbols/x86_64/libapp.so.dbg
cd native-debug-symbols
zip -r native-debug-symbols.zip .