The project is in a healthy, maintained state
Zip native symbols and get the retrace mapping file from within Fastlane.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Development

>= 2.96.0
>= 0
>= 0
>= 0

Runtime

 Project Readme

fastlane-plugin-native_symbols

fastlane Plugin Badge

Simple fastlane plugin to zip native symbols and get the retrace mapping file from Android builds.

Getting Started

Add the plugin to your project:

bundle exec fastlane add_plugin native_symbols

Usage

lane :release do
  zip_path, mapping_path = native_symbols(variant: "release")
  supply(
    package_name: 'com.example',
    track: 'production',
    aab: '12345678.aab',
    mapping_paths: [zip_path, mapping_path],
  )
end

The action will search your Android project for native symbol directories for the selected variant, zip them into the format expected by the Google Play Console, and return the path to the archive together with the obfuscation retrace mapping file (if present).

With build variant

lane :release do
  zip_path, mapping_path = native_symbols(variant: "releaseDev")
end

With app path

lane :release do
  zip_path, mapping_path = native_symbols(
    app_path: './android',
    variant: "release"
  )
end

Without fail fast

native_symbols(
  app_path: "./android",
  variant: "releaseDev",
  raise: false
)

When building debug or flavor-specific variants you may not always produce merged native libs. Set raise to false to keep the lane running.

Available options

Option Description Default
app_path Root directory of the Android project current directory
variant Build variant to inspect (e.g. release) release
raise Raise an error when native symbols cannot be found true

Run bundle exec fastlane action native_symbols for details.

Development

  1. Run bundle install to install dependencies.
  2. Use bundle exec rspec to run the test suite.

Issues and Contributions

Please create a GitHub issue if you run into a problem or have a feature request. Pull requests are always welcome.

References