Closed stephaneQ2 closed 3 years ago
No I have not tested push with N7 yet.
Ok. Let me know if you run into the same issues. Thanks :-)
I got this is issues too background noti is fine but foreground crash NS7 Angular10
is it still the case?
Yes.
Guys,
I found the issue. I re-added the push notification capability in X-Code 12 and I noticed that entitlements file was different. This is what it was updated to:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>aps-environment</key>
<string>development</string>
<key>com.apple.security.cs.allow-unsigned-executable-memory</key>
<true/>
<key>com.apple.security.network.client</key>
<true/>
</dict>
</plist>
Try it out! I hope this helps everyone else 👍
Im on "@nativescript/firebase": "^11.0.0" and NS7 and I don't know how you do it but even with the apns key properly registered on the firebase platform et the firebase token from the log, I still don't receive notification even when the app is in background. How did you re-add the notification capabilities in Xcode 12? I did add it and it did not change anything. Did you do a ns clean before? I seems to have the same entitlement file as you
It Works! However I had to launch the app using Xcode not using the command line: ns run ios both gave me the same firebase token however only when launching from Xcode the notification arrived
Thanks for everyone's help!!!
Hi .. I have same problem .. notification does not work at all with NS7 ? I have same entitlements but it dosent work !
What about CI tools? I can't use xcode in CircleCI.
Hi @EddyVerbruggen,
Notifications are not working on iOS and Nativescript 7. Everything else related to firebase is working. Is this something that you have noticed before? I am thinking this may be an App/Bundle ID thing. Have you tested the NS 7 version of the plugin with notifications?
Let me know if there is anything specific that I can test for or any information that you need to help us fix this issue.
Thanks!!