Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
462 views
in Technique[技术] by (71.8m points)

ios - iOS本机应用程序包装器,用于PWA中的推送通知(iOS native app wrapper for push notifications in PWA)

Is it possible to create a native iOS app which only services as a wrapper for a pwa?

(是否可以创建仅用作pwa包装的本机iOS应用?)

So the native app has no functionality other then to load the pwa inside of it and some background functions like push notifications.

(因此,本机应用程序除了将pwa加载到内部应用程序之外没有其他功能,还有一些后台功能(如推送通知)。)

This way I would like to create the functionality of push notifications, but still only have to create a pwa.

(这样,我想创建推送通知的功能,但仍然只需要创建pwa。)

So when you open the native app this app will open the pwa (In my mind it looks similar to an iframe inside the native app).

(因此,当您打开本机应用程序时,该应用程序将打开pwa(在我看来,它类似于本机应用程序中的iframe)。)

Everything will happen in the pwa, but we can still send push notification and use other features which are not yet available in the pwa.

(一切都会在pwa中发生,但是我们仍然可以发送推送通知并使用pwa中尚不可用的其他功能。)

If this is possible how can this be accomplished?

(如果可能的话,如何做到这一点?)

  ask by user3605780 translate from so

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

我认为Apple不会批准您的应用


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...