Files
flipper/react-native/react-native-flipper/android
Joao Alves 51e37311d0 Fix: Release builds on android (#1325)
Summary:
After `react-native-flipper` 0.48.0 I cannot build releases on android (I think that passed on CI tests because the example was running an older version of this package, 0.47.0).
So I moved all the `android/src/main` content to `android/src/debug` because we will not use Flipper in another Build Variant

## Changelog

I moved all content from `react-native-flipper/android/src/main` to `react-native-flipper/android/src/debug`.

Probably solves https://github.com/facebook/flipper/issues/1303
Pull Request resolved: https://github.com/facebook/flipper/pull/1325

Test Plan: Maybe create a custom CI script to verify if Flipper deps are present on Release Builds, [something like this](https://github.com/facebook/flipper/issues/1274#issue-641197153)

Reviewed By: cekkaewnumchai

Differential Revision: D22333432

Pulled By: passy

fbshipit-source-id: 4abbab5ecbe08d44752b2138569ff60d25724087
2020-07-02 04:07:59 -07:00
..

README

If you want to publish the lib as a maven dependency, follow these steps before publishing a new version to npm:

  1. Be sure to have the Android SDK and NDK installed
  2. Be sure to have a local.properties file in this folder that points to the Android SDK and NDK
ndk.dir=/Users/{username}/Library/Android/sdk/ndk-bundle
sdk.dir=/Users/{username}/Library/Android/sdk
  1. Delete the maven folder
  2. Run ./gradlew installArchives
  3. Verify that latest set of generated files is in the maven folder with the correct version number