Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Workaround for the no push notifications limitation for PWA in iOS 11.3?

Partial PWA support has landed in iOS 11.3 but unfortunately push notification is one of the unsupported features.

Can Apache Cordova be used to wrap a PWA into a native app and add push notification support? How likely/unlikely will the app be approved by Apple to be placed in its app store?

Update: I tried React Native webview but unfortunately I hit another wall. Google OAuth login does not work in a webview. Any workaround?

Update 2: https://codeburst.io/webviews-and-social-authentication-with-react-native-cfecf96ac7d7 this will solve the roadblock above but WebView is slow and RN's implementation is buggy. WKWebKit is better but it has compatibility problem with Firebase Auth JS and still no service worker support.

like image 944
Henry Avatar asked Oct 28 '22 14:10

Henry


1 Answers

I did the same but inlaid it into a React Native <WebView>.

like image 81
Noitidart Avatar answered Nov 16 '22 06:11

Noitidart