Obviously I can't share production code but here's an idea of what I ended up doing because of such discrepancies between Android and iOS handling these messages. From my 'functions' folder in Visual Studio.. const payload = { notification: { title: titleString, body: bodyString, }, and...
When i debug in Android Studio 3 with Chrome Dev Tools i get this JS error: Uncaught TypeError: Cannot read property 'messageHandlers' of undefined at iOSExec (ios-wkwebview-exec.js:122) at Object.execProxy [as exec] (ios-wkwebview-exec.js:151) at CodePush.notifyApplicationReady (code...
[√] Android toolchain - develop for Android devices (Android SDK version 29.0.1) • Android SDK at C:\Users\Arsh\AppData\Local\Android\sdk • Platform android-29, build-tools 29.0.1 • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java • Java version OpenJDK ...
build-tools 28.0.3 • ANDROID_HOME = /Users/jackcui/Library/Android/sdk • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405) • All Android licenses accepted....