reactjs - What's the cleanest way to get my react web app using push notifications on iOS? -


doing rapid prototyping app running in browser , on ios/android/etc. @ point may have build native versions, not necessary @ moment.

we need native push notifications working @ least on ios (which isn't supported browser, may getting worked on future release supports progressive web apps).

looking cleanest solution issue still allows keep our single code base , won't bloat our working environment.

from cursory investigation looks reactnative require device specific branching. may fine down road, wait until through of our initial prototyping.

is phonegap/cordova way go? speed on device isn't big issue keeping our code base clean can move fact it's in webview doesn't matter much. haven't touched phonegap in ages, can isolate code base cleanly wrapper?

another option thinking of writing lightweight ios wrapper webview , basic bindings handle push notification aspect. not sure if tricky though, , may have hidden pitfalls.

would love recommendations community may have.

again, ability move single code base high priority right (second working needed).


Comments

Popular posts from this blog

ios - MKAnnotationView layer is not of expected type: MKLayer -

ZeroMQ on Windows, with Qt Creator -

unity3d - Unity SceneManager.LoadScene quits application -