we have created cordova Hybrid app. it is already in production it is Communicating Between JavaScript and Java/Native app Through the Cordova Plugins. but client want to build new feature in React Native app and it will communicate with existing cordova hybrid app. so cordova app will call the React Native app in webview. we are planning to replace Cordova plugin in future. could you please guide us if any one done before. if your small input help for our analyze.
I am developing mobile and web with Flutter.
Currently when building with web I use js package to connect with javascript.
I get an error when I try to build on mobile here.
The js package seems to only work in web build. Is there support for both mobile and web?
I've created a React app that looks great on mobile, but rather than a user just visiting my website URL I also want them to be able to install it as an apk through the playstore.
Is there any trivial way to port it to Android, that would allow me to continue to develop just one version of the app? I looked into porting it to react-native, but much of it would need to be recoded. I also considered just opening the app URL in a browser popup, but I'm wondering if there's a better way.
Thanks -
Edit: Based on Michael's comment, I'm trying out turning my app into PWA compliant, then using Capacitor to deploy on Android & iOS. I'll see how this goes and write my own answer if this works out (and no one else answers =o)
Forgot about this question. As the OP in 2021, I resolved this by using Capacitor - A Javascript library that converts your app to Android and iOS builds.
Install Capacitor: npm install #capacitor/core #capacitor/cli
Initialize it: npx cap init
Add Android and (optionally) iOS support: npx cap add android npx cap add ios
Create an Android app: npx cap sync
Open Android Studio with your new app (to build a .APK): npx cap open android
Optional: Open Xcode to build an iOS app: npx cap open ios
Source: https://capacitorjs.com/docs/getting-started
I'm using windows 10 and I want to know that how do I able to deploy an ios app to app store created using react native and fast lane.
Some people's on internet said we can use app loader instead of xcode to deploy app on ios app store. Is it possible?
In short: do let me know the way to deploy react native based ios app to app store using windows pc?
P.S. I don't want hackintosh or VMware.
If you want to create an iOS build from non mac machine , ur best bet is using app-center
https://learn.microsoft.com/en-us/appcenter/build/ios/
This won't work. You will need a Mac with Xcode installed to build and upload react native apps for iOS.
I'm trying to simulate my app on ios simulator with ionic. But when I run:
ionic build ios
ionic emulate ios
My app doesn't appear on the simulator. What should I do?
You need to install IOS-Sim tool.
The ios-sim tool is a command-line utility that launches an iOS application on the iOS Simulator.
Apply this command on terminal window:
$ sudo npm install ios-sim -g
Make sure that you have added the iOS platform to the project and verify that you have the iOS-Sim tool. If this is the problem you should a message that you are missing any of those two in the terminal.
if you are using visual studio, you need to configure the remote ios agent.
follow this documentation https://msdn.microsoft.com/library/dn757054.aspx#ios to configure and test you application
Sometimes, an ionic app can take a really long time to load on the simulator. First try waiting.
Second, if it still doesn't load, know that the simulator is a lot pickier about what it will run and not run than the browser. Check if you app works in the browser. Try a different browser (such as Firefox). If it does not, debug from there. If it does work in the browser, run your code through a linter to find that one semi-colon that your browser didn't care about.
Try start do it on xcode(in each my ionic/cordova project i have to use some native solutions to build application for iOS i use xcode for android i use android studio)
I know that different platform need some hours of adapt but this knowledge is very important
Try remove and add platform again.
ionic platform rm ios
and
ionic platform add ios
simply use following commands to build and run your ionic app respectively.
ionic cordova build ios
ionic cordova run ios