Is there a iOS and an Android Simulator I can use to load up a IPA and a APK file? I'd like to test the apps but won't have access to the source code. Any software that lets me do that (preferably not on the cloud)
An IPA that wasn’t specifically built for the iOS simulator will have the wrong instruction set and won’t run therein. If you’re in a testing environment and can get whoever’s actually building the code to make a simulator version for you, though, the instructions in this answer may help.
You can install an android apk through adb on the simulator comes with the Android SDK
see Google Adb usage
You could try using bluestacks to install apk files
Related
Is there any way to develop a React Native app for Android without installing Android Studio ?
On Ubuntu 18.04 the apt command proposes a lot of android packages: android-sdk, android-sdk-platform-tools etc...
What do I need exactly to get React Native working properly ?
Please don't use expo or another SDKs of react native. React Native CLI is recommended everywhere because its performance is not comparable to expo and it is much more lightweight! Android Studio is just an IDE! If you setup your android development environment correctly there is no need to install Android Studio IDE (This is for experts!) but it is recommended to install for amateur users.
If you don't want to use the Android studio, you can take advantage of the Expo. Expo is the best way to assist React-native. You can run the app without the Android studio, and when you refresh, you can see the modified code right away.
Look at this official document and follow it slowly.
you don't need Android Studio at all, if you are using react native cli you can install it on your phone and run it there.
An attempt of solution to use react native without android studio and without expo is to build directly in your device.
you must install adb first by following this link install-adb-fastboot-on-ubuntu 18.04
and then you should follow this link react-native running-on-device
It will help you.
I'm using usb cable to install debug apk in my phone (react-native run-android). I put my phone in the same network (WIFI) with my machine (server) and configure the server address and port to debug remotely in the phone. After that i remove the usb cable.
In short everything is explained on the link above
As I can see here you need OS X to build apps with React Native. That is probably because they used it at first to create only iOS apps. Now it's possible to create Android apps with React Native but they still require OS X as development platform which doesn't make sense to me. Is there any way to create Android apps using React Native on Ubuntu OS or any other Linux?
Update 2: I've been developing React native apps on Ubuntu for some time now, without any issues.
Update 1: It's almost possible on linux and windows now. Check this doc page: link
Old answer:
It's already almost working, from the issue shared in kzzzf's answer:
Everything works on Linux except:
react-native run-android can't open a new shell window, you need to
use react-native start. Will be fixed in next release. Debugging in
Chrome currently relies on an AppleScript to launch Chrome. There's a
PR to replace that.
Building on linux and windows is not officially supported although there are people in the community already sending pull requests that will allow to do so (main obstacle is the fact of using apple-script and calling to shell scripts from node - from react-packager and from react-cli).
Main task for tracking those efforts is here: https://github.com/facebook/react-native/issues/2693
While it's not officially supported on Linux yet, and there are certainly some hoops to jump through, I have created a docker container that allows me to build and run android apps from Ubuntu.
The dockerfile is still a work in progress but it's available on github: https://github.com/gilesp/docker/tree/master/react_native
There's a couple of shell scripts to make local development easier - I mainly use the react-bash script to give me a shell prompt in the container for running react-native run-android etc.
It works well enough that I can have a phone connected via USB on my host machine, the react native stuff running in the container and have my edits to the code (I mainly edit using emacs on the host) appear immediately on the device.
I'm currently working on CI builds for android as there are some more hoops to jump through to create the bundled version of the javascript for deployment.
It should be possible by now. For an up to date guide on "can i build for platform X on system Y", see:
https://facebook.github.io/react-native/docs/getting-started.html
Since it's now possible to execute an apk file on windows mobile, is there any way to check if the environment is emulated on windows or not? I want to be aware if the app is executed on windows platform.
Users cannot run arbitrary APKs on Windows. As a developer you will choose to package and publish your APK for Windows. It can call Windows Runtime API or compile in custom checks as needed.
For more information check out the Build session “PROJECT ASTORIA“: Build Great Windows Apps with Your Android Code. You can sign up for the for the Windows Bridge for Android (fka Project Astoria) developer preview at https://dev.windows.com/en-us/uwp-bridges/android
I found the way. You just need to read file /proc/cmdline and look for the hyperv string.
I developed android apps in phonegap and it is successfully work on all android versions now I want to run my app on iPhone which is ceated in phonegap. I know xcode IDE but its a need Mac System. I don't have mac system. I have some questions...
Q.1) can I develop and create iphone apps on a cloud for phonegap(free and license)?
Q.2) can I create ipa online?
Q.3) can we run Mac in VM, but I dont want to use that(its slow,sluggish and painful to use).
Thanks in advance.
If you want to develop for cross platform that is, Android and iOS, you can try Mobione Studio, which doesn't require Mac, it runs only on Windows.
It's a paid IDE and design studio, which has 15 days trial period.
Also, it's project structure is same as that of Phonegap, as it has Cordova base.
Q1) Yes you can.
Q2) Yes, with Phonegap BUild you get an ipa.
Q3) I don't know about this.
Be aware - like the previous reply said - you'll need to use a service to upload to iTunes if you don't have a Mac.
If you have a Mac (of any kind) you can use that to upload the ipa you build with Phonegap Build.
I am looking for a utility that would quickly bundle up a phonegap app for android from an html directory. Perhaps something that would read some config.json file in that directory to automatically take care of all the configurations.
Basically I am looking to avoid doing all the setup of eclipse just to wrap my html5 app which already works fine on android through the browser.
Anyone have any good tricks or tools that can shortcut the whole process to something close to what I am dreaming about? I would love something where in 10 minutes I can have everything ready to deploy to the marketplace.
One option is AppLaud Cloud. Note, that it is still in alpha.
With AppLaud Cloud, you could create a Base App and then replace the contents of the assets/www directory with your html5 app.
You can emulate the app with the built-in Emulator, debug the app on device with Weinre, and build for deployment to the market.
Caveat: I'm the creator of AppLaudCloud.
Dreamweaver 5.5 has a function like the one you are looking for. I played with it briefly and is ok. More info here: http://blogs.nitobi.com/andre/index.php/2011/04/12/adobe-dreamweaver-5-5-supports-phonegap/
The plus: works with ios also(if you're on mac)
The minus: quite expensive stuff...
I would try using the new (undocumented) command line tools in the PhoneGap Android source. There is a command for creating a new app (https://github.com/callback/callback-android/tree/master/bin) and in the new app folder there is a command for debugging the app (on emulator or device).
You could also check out https://github.com/brianleroux/cordova which is a prototype for the command line tools that are now in the platform specific PhoneGap repos on github.
Going forward there will be more work done on Cordova but probably as an official PhoneGap repo / binary distribution.