Comments (1)
Hi @johannessachse thank you for your patience!
On Android 12 and lower notifications were accepted silently/automatically. This changed in Android 13 where granting permission become required. Therefore, prompting only happens for Android 13 or newer devices. canRequestPermission
currently returns true
for Android 12 and lower although prompting will actually occur. We can look into adding some additional documentation of this behavior to clarify.
Let me know if you have any additional questions or concerns!
from react-native-onesignal.
Related Issues (20)
- [Bug]: External Id is not getting set HOT 1
- [Bug]: Cycle inside SampleProject; building could produce unreliable results HOT 3
- [Bug]: addTag could not be invoked HOT 2
- [Bug]: react native App Crashes in Android device Only, works on emulator HOT 1
- [Bug]: canRequestPermission is not working as expected HOT 3
- [Bug]: Missing API declaration HOT 3
- [Bug]: Can not build at AppCenter HOT 1
- [question]: Issue with Push Notifications in App Store Builds HOT 1
- iOS: Badge not showing HOT 2
- [Bug]: In v5, the Subscription Status does not change to 'Subscribed'. HOT 8
- [Bug]: permissionChange listener is not giving the correct hasPermission value until background/foreground HOT 3
- [question]: getIdAsync is returning null with latest SDK HOT 4
- [Bug]: Dependency problem while adding onesignal to an existing react native project HOT 3
- [Bug]: Incorrectly returning notification permission data until you close and open the app
- [question]: Even though I followed all the instructions, the icon does not change
- [Bug]: NotificationClickEvent returning `launchUrl` instead of `launchURL` (on Android) HOT 7
- [Bug]: Incorrect Typing for launchUrl in OSNotification HOT 1
- [Bug]: Erroneous "Usage Duration" for Android subscriptions in SDK 5.2.0 HOT 1
- [Feedback]: canRequestPermission should probably return false on Android versions < 13
- [Bug]: No type or protocol named 'OSUser' and 'OSLiveActivities' HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-onesignal.