Create a .env at the root of the project, check the contents of .env.sample:
# then update the .env file variables
cp .env.sample .envCreate a notifee.config.json at the root of the project with the following:
{
"android": {
"license": "<YOUR_LICENSE_KEY>"
},
"ios": {
"license": "<YOUR_LICENSE_KEY>"
}
}
Download GoogleService-Info.plist from firebase and add it to ios folder.
Follow the steps in appdoki-rn-certs to setup your keys.
Download google-services.json from firebase and add it to android/app folder.
Debug keystore is included in the project. For production builds add the following to ~/.gradle/gradle.properties:
# ~/.gradle/gradle.properties
# Replace <...> with correct values.
APPDOKI_RELEASE_STORE_FILE=/<ABSOLUTE_PATH_TO>/<YOUR_KEY>.keystore
APPDOKI_RELEASE_KEY_ALIAS=<KEY_ALIAS>
APPDOKI_RELEASE_STORE_PASSWORD=<STORE_PASSWORD>
APPDOKI_RELEASE_KEY_PASSWORD=<KEY_PASSWORD># install dependencies
yarn && cd ./ios; pod install; cd ..Open a new terminal window then run the bundler:
# start metro bundler
yarn startReactotron configuration is setup, checkout reactotron for instructions on how to use ti.
yarn iosyarn androidCheckout the tag you want to release:
git checkout <TAG> # e.g: v1.0.1-alpha.0Follow the steps in fastlane readme.
NOTE:
- Bear in mind that some variables in your
.envfile differ for android and ios - For
alphalanes you need to login on firebase