I'm really excited to see React Native available but I don't have an Apple device of any kind around and I am used to coding on Debian-based systems.
Is it possible to test the app locally and then once I get a Mac to do the run the build process?
Also, anyone knows when the Android version will be available?
It's not officially supported but you should be able to. The app delegate has a path that points to a JS server:react-native/Examples/SampleApp/iOS/AppDelegate.m.
If you point that URL to your Debian machine before building to your phone, it should work. (Of course, the JS should get bundled into the app before submission to the App Store.)
Unfortunately you can't do that for now.
It supports only iOS devices and you need XCode in order to test in the simulator because following the documentation (http://facebook.github.io/react-native/docs/getting-started.html#content), it's going to create an XCode project
Unfortunately you can't.
If it's because you don't have an apple computer you can always try running one on a virtual machine.
Here's a rough outline of what you would need:
An iDevice
A colleague who will put a build on that iDevice whose root react native bundle points to some endpoint you can control. e.g. jsCodeLocation = [NSURL URLWithString:#"http://mydomain/index.ios.bundle"];
Compile your react app to that location.
Run the application on the iDevice, which will do so by downloading the js bundle.
This flow would be considerably inferior to developing on a mac though, as there would be virtually no capacity for debugging, the setup would be a pain, and you would need to restart the application on the device every time.
Related
I need to automate some actions (testing ajax login on demand) in a browser.
I manage to obtain the desired behavior using selenium and chromedriver on my pc, but I need to make it work either in a UWP app or in an Android app (*and must run without a pc once deployed)...
Notes:
UWP App
It's a web service that runs on Windows 10 IOT Core on a Raspberry 3b+ (ARM7)
Selenium seems to be incompatible to UWP apps... Maybe because of they are sandboxed and can't start new processes?
The app won't be published on windows store
I can add all needed capabilities
Android
It's an app that remotly commands the UWP app
Selenium integration compiled but execution blocks on "webDriver.get(url)"; I did'nt find a way to make it work yet.
I'm flexible concerning software/os/browser/libraries/etc to use.
The UWP & Android Apps are kinda complexe (they have many file...)
I don't know how to install a browser on the IOT Core (did'nt find an msix or appxbundle I could use)
Some ideas I had:
- Deploying the ARM7 chromedriver with a portable ARM7 chromium with the app
- Using dockers
- Using raspbian & mono
The ideal solution would be simple and working on android (if possible)...
Any of you have an idea of how I could do that?
I finally found a solution. I reproduced the desired behavior in Android using a WebView and javascript using the evaluateJavascript method.
It's a little tricky but perfect for my need.
I want to develop a Meteor app that will be deployed for web and mobile app (Android & iOS). I will use Windows on my dev machine. I will use WebStorm as my IDE.
What are the easiest ways to get my app deployed into the app stores?
I want to minimise extra configuration effort and duplicate code.
=== Supporting info ===
Some possible solutions I've come across are:
nitrous.io - but costs money
Vagrant - but looks complicated
When I run >meteor install-sdk android I get This command is not yet available on Windows. since it's not supported.
I'm asking this questions in March 2015, when official Meteor for Windows is still a release candidate and there are no plans to for mobile support on Windows in the near future. (See: https://stackoverflow.com/a/27698104/1369798)
Buy a Mac.
As much I loathe, them, I got a bottom of the range Mac Mini. I discovered there are many aspects of Meteor that don't work on Windows. Another one is their testing framework, Velocity.
Testing? Who needs that... :/
I am using http://www.macincloud.com since a couple of days, you can pay per hour. Those remote desktoped Macs have almost everything pre-installed you need for developing (besides the actual meteor stuff).
Definitely not a good idea if you want to check weather your app runs smooth in the ios emulator. But good enough for building and deploying iOS & Android apps!
I am using Nitrous.io for anything not compatible with Meteor Windows. When you register you get enough credits to run a small VPS like the one you can have at Digital Ocean for 5$. You can also refer friends and do some other stuff to get extra credits.
They also have a great desktop tool to synchronize files between the Nitrous.io and your computer.
So, I think it is a good choice and definitely easier than the Vagrant option!
In December 2015, the situation is still the same. I had a hard time today deploying my Meteor app on Android. I wrote down my findings, I hope it helps you too. It's here: https://geekycarrot.blogspot.com/2015/12/deploying-meteor-app-on-android.html
In a nutshell: It is possible without buying a Mac, but you need a Linux operating system, at least in a virtual box. You need to install an Android SDK on the Linux system. Building the app from the Linux console is somewhat tricky, but it can be done by the steps I described. Deployment can be simplified to one click with a short Linux-side and a Windows-side script.
I have developed a phonegap app (android) using Eclipse IDE. Is there any way by which I can use same HTML, CSS and Js to develop IOS app? I do not have a Mac system to do that. Do I need Mac System or can it be done on windows? Do I need to have developer account? Can It be done without having Developer account? How can I create .ipa file without using Mac system?
you can put your code on this it will generate IPA for you
https://build.phonegap.com/
Do I need Mac System or can it be done on windows?
Yes, you will need a Mac computer in order to compile it for iOS. You might want to use Xcode for the compilation purpose or test/deploy the application on device. You also need a Mac to configure certificates and provising profiles. Moreover, iOS Simulator does not run on Windows. Hence, Mac is a must one even if you develop app using web technologies.
Do I need to have developer account? Can It be done without having Developer account?
You won't need to have a developer account for writing applications for iOS. However, you will certainly need to have one when you want to test the app on your device. You will not be able to test your application on a device unless you have a developer account.
How can I create .ipa file without using Mac system?
Without a Mac system, this will not be possible. But, you might want to see more info on PhoneGap Build from this link.
I just find the following in which he can explain setting up building iOS apps without a Mac
1)http://community.phonegap.com/nitobi/topics/detailed_guide_for_setting_up_building_ios_apps_without_a_mac
2)http://www.iandevlin.com/blog/2012/11/phonegap/building-an-ios-signing-key-for-phonegap-in-windows
It is very time-consuming to build an application, copy the apk on the device, install it and run it, just because you want to change the value of a variable. Is there any way to run an application straight to the phone (like in Unity) ?
Does Gideros or any other similar SDK offer this capability? I read that ZeroBrane offers on device debugging but I didn't find any more tutorial/information how can you do it.
Gideros provides exactly such capability, you just install Gideros Player on your device, enter IP address on your computer, and instantly run your app on device, without any exporting or building, just click play.
Additionally with combination of ZeroBrane you can achieve live coding
http://bowerhaus.eu/blog/files/live_coding.html
Corona cannot do that without ZeroBrane LiveCoding.
Gideros do that by default.
There are tutorials and documentation at the ZeroBrane site for doing remote device debugging (and even live coding for some frameworks).
Generally remote debug requires that the on-device code be able to load the modules mobdebug (provided with ZBS) and luasocket.
I wrote an Android app with about 11.000 lines code. I need to port the app to Windows, Mac OS and other platforms as well, but I don't have the time and knowledge to do so. Is there a way to covert the Android app normal Java App that will run under Windows and Mac OS X without starting a very slow Android emulator?
I don't think there is another solution. I'm pretty sure that there isn't any solution now, having the whole code written for Android.
If from the beginning you knew this, maybe you would developed your application using a tool like Appcelerator that allows you to build cross-platform native applications. But it has an own syntax, and transforming now your code from Java to Objective-C or C#.
Android is not just some Java Libraries, it is an operating system, so you can't just port your "libraries" and run them on MacOS or Windows.
Android is a standalone operating system and apps written for Android SDK can only run on Android OS.
There are projects that enable you to run whole Android OS inside a virtual machine: http://www.android-x86.org/
From the app that you have right now, there is no way to do it, but you could choose from a cross-platform development tools or something like that and make the app again.
You might find some cross-platforms engines here:
http://www.toolsjournal.com/tools-world/item/157-10-of-best-cross-platform-mobile-development-tools
Maybe (depends on the type of app it is) you could create one app in html5 you can check this link for explanations:
http://blog.farreachinc.com/2011/08/25/html5-will-native-apps-obsolete/
Html5 can be used in many platforms.
I think you can reuse some of the code for java based mobile phones. Mac OS is developped in objective C so no.