File tree Expand file tree Collapse file tree
pythonforandroid/bootstraps/common/build Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -96,6 +96,9 @@ options (this list may not be exhaustive):
9696 project directory.
9797- ``--add-gradle-plugins ``: Add a plugin for gradle. The format of the option
9898 is ``<plugin-id>:<classpath> ``. The option can be specified multiple times.
99+ - ``--enable-crashlytics-native-symbol-upload ``: Enable processing and uploading
100+ of native symbols to Firebase servers. This flag must be enabled to see
101+ properly-symbolicated native stack traces in the Crashlytics dashboard.
99102
100103
101104webview
@@ -162,6 +165,9 @@ ready.
162165 project directory.
163166- ``--add-gradle-plugins ``: Add a plugin for gradle. The format of the option
164167 is ``<plugin-id>:<classpath> ``. The option can be specified multiple times.
168+ - ``--enable-crashlytics-native-symbol-upload ``: Enable processing and uploading
169+ of native symbols to Firebase servers. This flag must be enabled to see
170+ properly-symbolicated native stack traces in the Crashlytics dashboard.
165171
166172
167173service_library
Original file line number Diff line number Diff line change @@ -889,6 +889,9 @@ def parse_args_and_make_package(args=None):
889889 ap .add_argument ('--google-services-json' , dest = 'google_services_json' ,
890890 default = 'google-services.json' ,
891891 help = 'Path to google-services.json file' )
892+ ap .add_argument ('--enable-crashlytics-native-symbol-upload' , dest = 'enable_crashlytics_native_symbol_upload' ,
893+ action = 'store-true' ,
894+ help = 'Enable processing and uploading of native symbols to Firebase servers.' )
892895
893896 # Put together arguments, and add those from .p4a config file:
894897 if args is None :
Original file line number Diff line number Diff line change @@ -92,6 +92,11 @@ android {
9292 {% if args. sign -% }
9393 signingConfig signingConfigs. release
9494 {%- endif % }
95+ {$ if args. enable_crashlytics_native_symbol_upload -% }
96+ firebaseCrashlytics {
97+ nativeSymbolUploadEnabled true
98+ }
99+ {%- endif % }
95100 }
96101 }
97102
You can’t perform that action at this time.
0 commit comments