Request Notification Permissions not working on Android
complete
W
Wojciech Gargul
I’m on SAP Android Preview Runtime 4.1.3 and SAP BTP AppGyver Black Composer Pro build number 3876.
Request Notification Permissions flow is not doing anything on Android (tested on 3 devices with Android 10 and 11). In debugger on the flow Output I get ERROR: "src property must be a valid json object".
When I try to run it without any other flow afterwards my app is crashing. Error info attached.



Log In
T
Timo Kapanen
complete
Closing this ticket as we have provided a fix
D
Daniel Perley
same problem here. not working on android OR iOS
T
Timo Kapanen
Hi Wojciech Gargul, getting back to this one. Is the situation still with your app such that requesting permissions is not working in all cases? We have just published 4.4.9 version of the runtime. To understand better what could cause the issue, we added more diagnostics to the failure messages. If the issue is still present, would be great to see what the failure messages are showing. Best Regard, Timo Kapanen
T
Timo Kapanen
Wojciech Gargul, have you had a chance to look at this one?
W
Wojtek Gargul
Timo Kapanen: Sorry I'm on holidays with limited access to internet. I'll be back in first week of july and then I can test it.
T
Timo Kapanen
Wojtek Gargul: no worries, enjoy your holiday!
W
Wojciech Gargul
Timo Kapanen: For previously installed android app request works ok (check for notification - works, request - works). I can see alert asking to change permission in settings. I just need to create new app and publish it via play console to see if it will provide correct request for first app install.
T
Timo Kapanen
Wojciech Gargul: great and thanks for the update
T
Timo Kapanen
in progress
T
Timo Kapanen
complete
T
Timo Kapanen
Wojciech Gargul, Spencer Cook, we have published a fix for this as part of the new runtime. Namely build tag 4.3.3 has been published in community edition. Please note that the same build tag will be made available the soonest for enterprise edition. Best Regards, Timo Kapanen
S
Spencer Cook
Timo Kapanen: Awesome work! Very much appreciated.
T
Timo Kapanen
planned
T
Timo Kapanen
I am commenting same here as in ServiceNOW ticket. We have permissions related implementation change coming to the next runtime release. Best Regards, Timo Kapanen
Kristian Gerkman
Hey Wojciech Gargul Spencer Cook , just a quick update - found the crash, it happens because of the alert flow function doesn't know how to handle booleans as the message (fix for that is coming, for now you can use STRING() formula). And the debugger "outputs" issue seems to be a bug in the debugger.
Regarding the notification permissions, it seems like Firebase on Android returns
Authorised
always regardless of the Android level settings. We'll still need to investigate if that is the correct behaviour, or if the app should be able to check what happens on Android level.Thanks,
Kristian
S
Spencer Cook
Kristian Gerkman: Great, thank you for looking into this! So, even with this issue, we should still see notifications going to Android devices? Is that correct?
S
Spencer Cook
Qualtrics is seeing the same issue on Android devices.
Load More
→