Insider | NPM JS react-native-insider | InsiderAcademy |
This Demo contains simple methods that you can use with the Insider SDK.
Install all npm packages by running the npm install
command in the home directory.
Replace partner name and app group value in App.tsx
with your info.
Note: Can easily find the warnings added as comments by searching the FIXME-INSIDER
key in the project and you can quickly make the necessary arrangements for the project.
- Add
google-services.json
andagconnect-services.json
toandroid/app
folder. - Add your keystore file to
android/app
folder and replacesigningConfigs
attributes inandroid/app/build.gradle
file with your info. - Replace manifestPlaceholders -> partner value with your partner name in
android/app/build.gradle
file. (This step is important to add test device with QR or Email in the panel.) - And run project with
npm run android
command.
- Go to the iOS folder with terminal and run the
pod install
command. - Open XCode and check the app group and bundle identifier for all targets.
- Replace
insider
URL type in main target Info -> URL Types with your partner name. (This step is important to add test device with QR or Email in the panel.) - Change APP_GROUP variables value in
InsiderNotificationService/NotificationService.m
andInsiderNotificationContent/NotificationViewController.m
files. - And run project with XCode.