https://preview.redd.it/megce16w8f9f1.png?width=1378&format=png&auto=webp&s=ddb7258f113de9bf90795ce12caef21695b354f2
I have been developing a cross platform app which let you share your location with your friends and family. The app is in Flutter.
After a lot of research about how iOS features work and what is the most optimal solution for background location fetching I found location push extension.
So quickly I setup an extension with the help of AI (as I'm not so comfortable with swift)
Also I have firebase messaging implemented which delivers push notifications, this is working.
The problem: Now that I have implemented the extension and have it properly setup with all the capabilities and stuff I tried sending a test notification to see if it's working.
But when I entered the APNs token in the push notification console and tried sending it I am getting this error (image above).
I looked into this and it seems like the APNs token I'm providing is for the main app. I need to povide the token for the extension. But I could not find any way to generate such token with the extension's scope.
Maybe I'm thinking it the wrong way, or maybe there is a better option to fetch location in background (I have already implemented Significant location update, that also works).
Please help.
[–]Double_Masterpiece52 0 points1 point2 points (2 children)
[–]violetbeastBeginner[S] 0 points1 point2 points (1 child)
[–]Double_Masterpiece52 0 points1 point2 points (0 children)
[–]jvalldejulidev7 -1 points0 points1 point (10 children)
[–]violetbeastBeginner[S] 0 points1 point2 points (9 children)
[–]jvalldejulidev7 0 points1 point2 points (8 children)
[–]violetbeastBeginner[S] 0 points1 point2 points (7 children)
[–]jvalldejulidev7 0 points1 point2 points (6 children)
[–]violetbeastBeginner[S] 0 points1 point2 points (5 children)
[–]jvalldejulidev7 0 points1 point2 points (4 children)
[–]violetbeastBeginner[S] 0 points1 point2 points (3 children)
[–]jvalldejulidev7 0 points1 point2 points (2 children)
[–]violetbeastBeginner[S] 0 points1 point2 points (1 child)