Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS/Android Wrapper #255

Open
JorenC opened this issue Aug 13, 2021 · 5 comments
Open

iOS/Android Wrapper #255

JorenC opened this issue Aug 13, 2021 · 5 comments

Comments

@JorenC
Copy link
Collaborator

JorenC commented Aug 13, 2021

Apparently, we would be able to release the app to iOS stores, as the 'app functionality' condition is sufficed even by a web-app, as per Primacy trying and succeeding.

Considering the app is made in React, it shouldn't be too hard to create an iOS wrapper around the app, there are multiple solutions. One such is Apache Cordova (https://fjolt.com/article/react-apache-cordova-ios-android) which is open source and backed by Apache, so should be good.

As I gather from the tutorial page linked, it allows us to migrate our app into one solution, where a router will detect whether the app runs on web or in the iOS/Android wrapper, allowing one source code to be maintained.

There are notification plugins that handle notifications into both Android and iOS (although some plugins seem to be outdated, but Cordova contains its own solution (https://cordova.apache.org/docs/en/latest/reference/cordova-plugin-dialogs/index.html), but my L337 coding skills are not sufficient to judge this, and I don't know how notifications are routed (Firebase, I believe, then this solution might work: https://medium.com/@carlospcpro/how-to-add-push-notifications-to-your-cordova-app-in-ios-and-android-using-firebase-done-right-4f6c64dc50f0).

@zond maybe you can take an evening to investigate and see if this would be a workable solution - I would be able to foot the development costs for iOS development if necessary.

@zond
Copy link
Owner

zond commented Aug 16, 2021

I think this solution is simpler than using React native, and it should let us use iOS notifications. Definitely a practical way to do it, if someone wants to contribute some time to try it out :D

Perhaps something @johnpooch would want to try out instead of React Native for a simpler alternative? WDYT @johnpooch?

@johnpooch
Copy link
Collaborator

Hey guys yeah this looks like it should be pretty straight forward. Longer term I reckon using react native would be better because this approach seems experimental and I can imagine us having weird bugs that only occur in the app emulation set up. I think using native code would make for a better user experience. My only concern would be that by releasing an experimental version of the app we could gather some negative reviews if it felt like it wasn't a real app or something. Could be a good stop gap. Alternatively we could wait and try to make a proper native experience. I'm easy 😊 happy to try smash this out and we can see how it performs

@JorenC
Copy link
Collaborator Author

JorenC commented Aug 16, 2021 via email

@zond
Copy link
Owner

zond commented Aug 16, 2021

That sounds like it could work :)

@JorenC
Copy link
Collaborator Author

JorenC commented Aug 29, 2021

As Primacy has proven it's doable, let me know when you want me to get an Apple Dev account... hint hint

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants