You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried using this command to cold-start my app to simulate the arrival of a push notification from OneSignal, but it doesn't work that same way as when I send it from the portal.
adb shell am start -W -a android.intent.action.VIEW -d "my://my.app/market/home?MarketId=2" com.my.app
The app launches, but it doesn't navigate to the landing page. The same Launch URL works perfectly when I send it through the OneSignal portal, so I conclude that my ADB command is incorrect.
Question 1: How to fix this command to simulate a push notification sent from OneSignal? I can't tell whether it even receives the push notification at all, which leads me to...
Question 2: How to debug push notifications on an Android device that are received when the app is not running?
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
How can we help?
I tried using this command to cold-start my app to simulate the arrival of a push notification from OneSignal, but it doesn't work that same way as when I send it from the portal.
adb shell am start -W -a android.intent.action.VIEW -d "my://my.app/market/home?MarketId=2" com.my.app
The app launches, but it doesn't navigate to the landing page. The same Launch URL works perfectly when I send it through the OneSignal portal, so I conclude that my ADB command is incorrect.
Question 1: How to fix this command to simulate a push notification sent from OneSignal? I can't tell whether it even receives the push notification at all, which leads me to...
Question 2: How to debug push notifications on an Android device that are received when the app is not running?
Code of Conduct
The text was updated successfully, but these errors were encountered: