#Error Push notifications
1 messages · Page 1 of 1 (latest)
Yes, it works.
nope, my app crashes instead, but maybe because of android 11
I do have it wokring on IOS with firebase, laravel, blade and vanilla javascript
where do you see this error: Failed to initialize push notifications.?
Hmm after upgrading from 1.2 to 1.3.1 the push notifications don't work any more "Failed to register for remote notifications: no valid “aps-environment” entitlement string found for application", in xCode console log. Going back to version 1.2 everything works fine.
if (System::isIos()) {
PushNotifications::enrollForPushNotifications();
} elseif (System::isAndroid()) {
PushNotifications::getPushNotificationsToken();
}
is this in the native:run command?
This is in xcode itself, for some reason the native:run does not work for me, https://discord.com/channels/1136045642154790955/1398382300106068019
I need to php artisan native:build -v, then php artisan native:open -> opens xcode, and run it from there. I can't show a screen shot, back to version 1.2. Need to set it back to 1.3.1 and reproduce it ?
Im taking a look into this now
I've been playing witht his for a while, and not having any of the same issues, run is working, notifications are working in the simulator etc. what are your relevant env vars
Just tried to do this as well on iPhone 13 device and got similar error. It looks like it’s down to using a free profile.
@winter saddle are you using a paid profile?
A paid apple developer profile? Yes I am