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
We use a job and workflow to send daily push notifications to new devotions within our app. On Android, if you tap this push notification with the app closed, the app doesn't open but crashes. If the app was already open in the background or foreground, the app opens correctly.
In testing, we also tested a stripped down the workflow to the simplest version and the issue still presents (just one workflow action with simple text in the title/message fields with no punctuation, tested url vs. no url, etc).
We had noticed a pretty large amount of repeating crashes daily on our Google Pay dev console, but only recently connected that this is most probably the cause since we send these notifications daily in the morning. I'll include some of those crash details below if that's helpful:
Stack Trace:
Exception android.runtime.JavaProxyThrowable: System.NullReferenceException: Object reference not set to an instance of an object
at Rock.Mobile.Droid.Widgets.RootContentLayout..ctor (Android.Content.Context context, Android.Views.View contentView)
*Not able to test in blue or orange app because I don't think pushes work there...
Can reproduce in
Orange App
Blue App
Steps to Reproduce
-from a workflow, send a push notification via the Push Notification Send action.
-tap on the notification in Android.
-if the app is NOT open in the background/foreground on android, the app will crash and not open.
-if the app IS already open in the foreground/background on android, it opens the app or directs you to the specified page within the app correctly.
-Push notifications sent from the New Communication block work fine. This issue only seems to present from workflows.
-iOS works fine. Doesn't have this issue.
Expected Behavior
Push notification should open to the specified page within the app on android
Actual Behavior
Tapping on the push notification crashes the app on android.
Describe the Issue in Detail
We use a job and workflow to send daily push notifications to new devotions within our app. On Android, if you tap this push notification with the app closed, the app doesn't open but crashes. If the app was already open in the background or foreground, the app opens correctly.
In testing, we also tested a stripped down the workflow to the simplest version and the issue still presents (just one workflow action with simple text in the title/message fields with no punctuation, tested url vs. no url, etc).
We had noticed a pretty large amount of repeating crashes daily on our Google Pay dev console, but only recently connected that this is most probably the cause since we send these notifications daily in the morning. I'll include some of those crash details below if that's helpful:
Stack Trace:
*Not able to test in blue or orange app because I don't think pushes work there...
Can reproduce in
Steps to Reproduce
-from a workflow, send a push notification via the Push Notification Send action.
-tap on the notification in Android.
-if the app is NOT open in the background/foreground on android, the app will crash and not open.
-if the app IS already open in the foreground/background on android, it opens the app or directs you to the specified page within the app correctly.
-Push notifications sent from the New Communication block work fine. This issue only seems to present from workflows.
-iOS works fine. Doesn't have this issue.
Expected Behavior
Push notification should open to the specified page within the app on android
Actual Behavior
Tapping on the push notification crashes the app on android.
Screenshots or Videos
Workflow
Crash
https://github.com/SparkDevNetwork/Rock.Mobile-Issues/assets/32227063/427d4581-61a3-4f1b-9ea4-81b078bd18fb
Reproduction XAML
No response
Mobile Shell Version
1.6.0.4
Last Known Working Version
N/A
iOS Device Type(s) and iOS Version(s)
none
Android Device Type(s) and Android Version(s)
All as far as i can tell. Android 9-13. Samsung, Google, Motorola, etc devices
The text was updated successfully, but these errors were encountered: