-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot enable notification permissions #1368
Comments
Similar too #653 Thanks in advance and please let me know if you need more information. |
It seems like setPermission is not called. @noomorph can you pls take a look? |
I took another stab at it and it works. Seems like this config does not work
This does work, if I don't launch the app while doing the init.
Maybe its just a noob error (I'm new to the lib so maybe this is common knowledge) or maybe you/me should update/add the docs? I can create a "document pr" if you think it is needed. Anyway it works great now. Cheers |
Ah I see, hehe |
Describe the bug
Cannot enable notifications.
To Reproduce
Provide the steps necessary to reproduce the issue. If you are seeing a regression, try to provide the last known version where the issue did not reproduce.
If possible, please provide a small demo project that reproduces the issue, or attach a video with the reproduction - this would be very appreciated.
Expected behavior
A clear and concise description of what you expected to happen.
Similar to
Cannot enable notifications, i.e:
In init.js and firstTest.spec.js, with and withoout "newInstance: true"
Added console log when when params.permissions is suppose to be handled but it is never called with "permissions" ..
IF I click the notification permission popup then the test passes.
Seems that applesimutils is not called.
Trying on a newly initialised detox project:
Init.js:
firstTest.spec.js
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
Device and Verbose Detox Logs
Provide the device and "trace" Detox logs so we can understand what happened. You can obtain them by passing the loglevel param:
detox test --loglevel trace
iOS Framework Build Logs
If you are seeing a build problem (e.g. during
npm install
), provide the log found here:~/Library/Detox/ios/{...}/detox_ios.log
The text was updated successfully, but these errors were encountered: