How to run on iPhone a React Native app from Ubuntu OS - android

Am I able to run my React Native application on a ios physical device? And if I am able to..let me ask you how is it possible?
I have created the application via 'React Native CLI quickstart' 'dev OS: Linux', 'target device: Android'..because I read: 'If you want to develop for both Android and iOS, that's fine - you can pick one to start with, since the setup is a bit different.'
I am not using Expo, because i will need the feature of reading NFC tags.

You will not be able to deploy to iOS without a Mac and XCode. Since you mentioned you can't use Expo, the other solution is to use online rent-a-mac type of services which let you use a Mac in the cloud to deploy your app.

Related

React Native create a complete hybrid app on Windows with react-native cli

Is it possible to create a React Native app with react-native cli on a Windows PC and configure it for both Android and iOS on the Windows PC and then just build it on a macOS device for iOS? Do I need XCode for any of the iOS configuration or is it possible to do everything on a windows PC? I don't want to create any custom native libraries, only download some react-native ones.
I do not want to use expo because the apps built with expo are too big. But I don't have access to a mac device so I would like to be able to do everything on windows beside compilation and then just rent a cloud mac to compile for iOS.
If you are planning to distribute your application to the AppStore and/or test your app on an iPhone and/or iOS Emulator, you must use Xcode, which means you must have a Mac or a virtual machine that runs MAC OS.
Most of the configuration is pretty much done on your windows machine except some settings and app icon, splash screen, all these things require you to set it up via XCode. Hopefully it suffices as an answer.

Is there anyway to run iOS or Android code on a desktop application?

I would like to use an iOS or Android SDK (e.g. DJI Drone SDK), but instead of running it on a mobile device to connect to the hardware, is there a way to build a desktop application (e.g. Electron based) and be able to run their SDK to interact with the hardware?
On Windows you can use Android Studio for run apps to Android .APK
Download it now https://developer.android.com/studio/index.html
Don't forget you need to know Java language to using Android Studio you can learn watch some tutorials on Youtube
On Mac you need to use Xcode
You can't run IOS Mac apps on Windows you can it with Virtual Machine like Vmware.
It's Xcode for download
https://developer.apple.com/xcode/
Don't forget you need to know Swift language to make an app on Mac for Mac and IOS
It is called DJI Assistant 2 but you still need your controller:
https://developer.dji.com/mobile-sdk/documentation/application-development-workflow/workflow-testing.html

how to use expo simulator for CRNA Create-React-Native-App?

i was thinking that we only have two android emulator and also iOS simulator used to develop react native app through their android studio and xcode sdk.
but CRNA(Create React Native App) users can not use both emulator and simulators.
They can only run the app using a mobile device through Expo app.
Is there any simulator in expo for CRNA user ?
please suggest any idea to use simulator
thanks in advance
They make running the app on actual devices super easy and obvious, and I totally understand why you'd think it's not possible to run the app in the simulators as well. But, in fact, you can.
Expo recommends using the Android Emulator in Genymotion
And if you open the project in the Expo IDE, you should see this option...

Phonegap hybrid plugins testing

I'm starting a new big project in Cordova Phonegap and I have some doubts with using plugins.
Using my computer with Windows to build android's app and simulating it I'm hundred percent sure that it's working, but how can I know if the plugins in the iOS platform will work as well?
I've readed about PhoneGap Build™, but I'm not sure if it will bring versatility to the debugging process due to the need to 'deploy' the project to cloud whenever I want to debug a native apk version.
There's a tool that I can debug the development progress for both platforms (iOS and Android) in Windows, or whenever I want to test iOS platform I'll need to build an app in MacOS?
Thanks in advance
It depends what aspects of the iOS plugins you want to test: native or hybrid (JS)?
I.e. do you want to debug the Javascript running in the hybrid WebView - that of your own application and/or the Javascript layer of the plugins?
Or do you want to debug the native layer of the plugins (Android => Java, iOS => Objective-C/Swift)?
Bear in mind that any sort of deployment to an iOS device requires membership of Apple's iOS Developer program in order to be able to sign the app with valid credentials.
With regard to Phonegap Build, while it's possible to build an iOS app with Phonegap Build and receive the compiled .ipa (iOS equivalent to .apk), it's not easy to then directly connect an iOS device to a Windows 10 PC and connect a remote debugger to attach to the iOS Webview that your Cordova app is running in. I read that jsconsole offers one such free solution, but I've not tried it (there's a blog post about it, though).
One solution I have used is not free: Telerik Appbuilder is a paid product. It's Windows classic IDE allows you to build, deploy and debug the hybrid Webview of Cordova apps on an iOS device from a Window 10 PC using their cloud build service.
However, if you want to debug the native elements of iOS plugins, at this point your are going to need XCode (Apple's official IDE for developing iOS/OSX apps) and therefore the OSX operating system. But before you go out and buy a $1000 Macbook Pro, I would suggest one alternative that I use to develop both native and hybrid iOS apps on a Windows 10 PC: although it's not officially sanctioned by Apple, it's possible to run OSX inside a virtual machine using virtualisation software such as VMWare Workstation or Virtual Box - also known as a "Hackintosh". This allows you to use a Windows 10 host machine to run the OSX operating system and gain access to all of its features. By connecting an iOS device to a Windows 10 PC running an OSX, you can connect XCode to the device and use it's interactive debugger to debug the native elements of Cordova plugins. Also, you can use the Safari Browser's dev tools to connect to the iOS Webview and debug the JS layer.
I have used this method to develop and deploy both native and hybrid iOS apps to the App Store using a Windows 10 PC. However, bear in mind that a virtualised OS runs slower than a native one: I would recommend running the OSX image off an SSD with a high-performance PC: i7/32+Gb RAM/high-end GPU.

Is it possible to develop IOS application without a Mac via Intel XDK/Phonegap?

I am planning to build an application for both Android and iOS, but from what I've heard, using Phonegap framework it's not possible to develop and deploy an iOS application only using Windows.
Is this true? Will I need a Mac for deployment? Any suggestions will help me proceed.
Regards
YES, It is possible to develop and test app for iOS using Intel XDK on Windows. However you still need a Mac when you are ready to submit app to Apple AppStore. But you can do development, create certificate and test on iOS device without a Mac.

Categories

Resources