Im currently developing a ReactJS (PWA) application that is intended for both web and mobile.
For iOS, I planned to build a simple app in Xcode with a WKWebView browser pointing to the web version of the app, and then upload it to App store for distribution. Im planning on doing same thing for Google Play.
But after reading up a bit on articles/posts from 2019 on this subject, PWAs uploaded to App store seems to be rejected by Apple as they are not a native mobile app...
Is this still true today in 2020?
If so, are there any work arounds or is converting my ReactJS app to React Native the only way to App store..?
Appreciate any help on this topic!
Related
I made an app on React JS. This is SPA. The application is optimized for mobile phones, it can also be saved as a PWA application from a browser on a mobile phone.
Is it possible to convert this app to .apk for uploading to google play? How to do it?
Thank you!
I want to embed or just redirect to a website I made which uses a webcam. I can redirect to the website with webView however the camera doesn't work.
This is the website I want to embed. https://chinmaymhatre.github.io/currency_detector
I don't think you can permit camera access inside a webview in a react native or expo app because of security concerns, neither could I find anything like that.
I think it would be easier to just implement this right into the react native app(if the app you want to show in the webview is written in javascript)
I have tried something similar. So, sometime ago I was making a video streaming app using React Native for a website that I made using WebRTC which was using camera and other medias(Video, Audio and Screen). I tried to be smart and tried to embed the webpage directly into the React Native App. My Idea was that I could access the Camera and other user media in Mobile Browser So, it should work with React Native as well. But this is not how the react-native works, React Native doesn't uses iframe to work or in other words react-native develops Native Apps for both IOS and Android. You can always implement an iframe in expo, but this is against the Device Security to provide such level of access to user-media. The device doesn't allow such functionality via iframe (here's the link to a live example how to implement iframe in expo). So, to understand it better You should use react-native-cli to make a simple app not expo. Now for using camera in expo there's a package called expo-camera (here's link) Which helps you develop camera oriented apps using Expo. If this doesn't answer your questions then let me know. Happy Coding :)
I am new to React Native. So here goes my scenario:
We need to create a new SDK that would be embedded into multiple technologies: React Web (JS), React Native APPs, iOS Apps (Swift and Obj-c), and Android Apps (Kotlin and Java). This SDK will offer:
APIs to get access tokens (issued by our corporate authenticator) so that the APP can talk to our API Gateway; something on the lines of getCurrentAccessToken();
Standard screens for login, Change Password, Forgot Password, OTP, etc; The UI should look and feel NATIVE to each target platform that it will be running on (Web, iOS, Android). Transitioning from a Native Screen to SDK's Screen should be smooth.
Be small (package size) and have OK/Hermes performance on both API Calls and Screen loading times (it doesn't need to be as fast as Native, as this SDK will be used once or twice every time the user starts the main APP);
I have checked boden.io (C++) but it would not work on WEB. It might still be an option (having 2 SDKs, one for WEB one for Mobile) so I didn't rule it out yet.
Is such a thing feasible in React Native? If feasible, is it a good idea?
PS: I know I would still need native binds/wrappers for each technology so that the SDK looks NATIVE to the caller, but that would be a minor issue.
Thanks
You can use go lang and gomobile to build the sdk for iOS, Android and Web.
I am trying to start developing my personal web using polymer starter kit as my basis. When I tried to run the web locally using python server, it all ran well and the mobile mode is working. But when I upload it into my Github, it does not change into mobile layout if I open it in my Android phone.
Any idea why?
My full code is available at:
https://github.com/flamechamp/flamechamp.github.io
I am looking for a service / software which takes website and wraps it in a mobile application for iPhone and Android. Without any additional features such as navigation or push messages. Just wrapping website + select app logo and name.
I am not able to find such a thing.
Maybe somebody knows?
You can try ionicframework or jQuery mobile for converting web app (client side javascript) to mobile app. Which supports both android and iOS.