Open SomniumDigital opened 8 hours ago
I've now managed to get this up-and-running by doing the following:
I ensured the Android SDK Command-Line Tools were installed, then restarted my machine. For more info see here: https://stackoverflow.com/a/71544202/3568695
This enabled me to get the Example app working and connecting properly to Metro.
Secondly the command in the docs to test the deep link setup in the example app is incorrect, it should be the following:
adb shell am start -a android.intent.action.VIEW -d "com.infobip.mobilemessaging://deeplink/TestDeeplinkingScreen/TestDeeplinking2" com.example
N.B. TestDeeplinking2
instead of TestDeeplinkingScreen2
I could not get the Example app to work on Android without making the following changes:
It required me to update the Android Gradle build tools, Gradle Google Services and the Gradle version. Once I did this I was able to build the app, however the app seems to be unable to connect to Metro, the only way I've been able to run the app properly is by pre-compiling the JS bundle like so:
This then resulted in me being able to actually use the app in the Android emulator.
Unfortunately when trying to test the Deep Links however, they do not seem to work, the following
adb
command only opened the app up on the Home Screen:Notes: Machine: Apple MacBook M2 Pro OS: Sonoma 14.4.1 NodeJS: v20.15.0