Is there any opportunity to build react-native project for ios on Windows? Is there any service for it?
Unfortunately Not possible for iOS as of now (If you are not going to use MAC on VMware).
However you can use for Android & read More details here.
NOTE: This guide focuses on Android development. You'll need a Mac to build iOS apps.
As React Native on iOS requires a Mac and most of the engineers at
Facebook and contributors use Macs, support for OS X is a top
priority. However, we would like to support developers using Linux and
Windows too. We believe we'll get the best Linux and Windows support
from people using these operating systems on a daily basis.
Therefore, Linux and Windows support for the development environment
is an ongoing community responsibility. This can mean filing issues
and submitting PRs, and we'll help review and merge them. We are
looking forward to your contributions and appreciate your patience.
As of version 0.14 Android development with React native is mostly
possible on Linux and Windows. You'll need to install Node.js 4.0 or
newer. On Linux we recommend installing watchman, otherwise you might
hit a node file watching bug.
You can use a cloud build service, such as Circle CI or Mobile Center, to build iOS react-native applications and even automatically run Appium tests. The feedback cycle would be much longer than on your local machine, though.
Some folks choose to break the Apple EULA and run MacOS in a VirtualBox as a kind of "hackintosh" virtual machine on their Windows PCs. This supposedly works very well, and runs at near-native build speeds.
Related
I have finished to write a react-native application written with the help of expo SDK and I want to build my final .apk and .ipa for testing them with real devices.
During the development, I have used one iPhone 6 and one Galaxy S9 real devices using the expo application.
So far, I managed to build from Debian the signed apk but I didn't find a way to get an .ipa from my Debian linux system.
I can't have xcode installed but if needed I can rent a mac online and submit the ipa from there.
I have already followed those guides:
https://docs.expo.io/distribution/building-standalone-apps/
https://docs.expo.io/distribution/app-signing/
https://customersupport.doubledutch.me/hc/en-us/articles/360001189514-iOS-How-to-Create-a-Distribution-Certificate
This guy says:
Is it possible…sure. The only thing a Mac is needed for is XCode for actually uploading your IPA to AppStore. I do not own a MAC personally, so I rent an online one via MacInCloud.
What are the steps to build an .ipa on expo?
This is super simple if you are using the managed workflow (not sure if this is the case?).
expo build:ios
You will then get a link which will allow you to download the .ipa once it has been built on the expo servers.
Open your MacInCloud mac, download the .ipa from the link provided, and then upload it to the AppStore using the Transporter app.
I have written a Javascript script which I bundled into an Android app using Cordova.
The code is written in ES6 and is transpiled into ES5 using Babel and Webpack.
The app is intended to run on a simple TV, so I am using MK809 Android dongle to transform a TV into an Android-based TV. Then I install the new app and try to run it.
The problem is that the app terminates immediately (most probably due to some ES5 errors as the transpilation is probaby not complete or correct).
Is there a way this can be debugged?
When I run it on my computer's Chome, everything works perfectly as it has full ES6 support. The app also runs perfectly on my Android phone as it uses a modern browser which supports ES6.
I am not a FE guy, so my knowledge is a bit limited.
Can anyone suggest the best way to debug this? How can I run a local copy of a brower with ES6 disabled so that I could easily spot the problem?
Thank you
The only I see you could achieve this would be to root this Android dongle and install something like ADBWifi so you can debug it through Chrome/ADB over your local network. This is what I do for ChromeOS devices, not too sure if it's doable with your device...
I found out that using a service like errlog.io gives me what I need.
JavaScript errors get captured and sent to the their service and then are accessible on the dashboard
see: Get Started with Remote Debugging Android Devices
the MK809 dongle has an USB port and it would need to have USB debugging enabled.
then go to chrome://inspect on the computer's Chrome, in order to access the debugger.
logging and debugging is something very else; that dongle actually is a Rockchip RK3066.
We have our desktop app (windows) built in electron.
On most of the system, it gets installed perfect. But in some computers, specially windows 7, user gets prompt to install .net 4.5 before installing software. Most of the case, installing this works fine. But in some case, user wont be able to install .net 4.5 since newer version of .net is installed in their system. In that case, we need to do remote connection to their PC and uninstall previous version and install new version with some tweak..i.e, stoping WuAuServ, and something with softwareDistribution and starting WuAuServ again.
It seems its requirement for apps built with electron.
I was wondering if even slack faces the same issue while installing. If not then can somebody guide me on what am i doing wrong?
I am a mac user every time i install android studio it starts downloading some components and ends up showing this message can any one please help to install this software please check the below image which shows the message I get when i started installing android studio
The AndroidStudio requires to download Android APIs and some support tools and libraries that your system is failing to install. It may be cause of poor internet connection or low disk space.
After hours of struggling I decided to reread the whole cordova documentation, I noticed this.
To add support or rebuild a project for any platform, you need to run the command-line interface from the same machine that supports the platform's SDK. The CLI supports the following combinations:
iOS (Mac)
Android (Mac, Linux) <------
BlackBerry 10 (Mac, Linux, Windows)
Windows Phone 7 (Windows)
Windows Phone 8 (Windows)
Windows 8 (Windows)
Firefox OS (Mac, Linux, Windows)
Is it true that I cant use the cli on windows for android? I have the SDK for android installed on my machine, so IDK why it doesn't say windows?
Are there any workarounds, should I avoid the cli and build my app myself?
The reason why I ask is in the cli I run cordova platform add android I get errors, and have done everything in my power for the last 10 hours to get it to work.
1) You can use CLI commands in windows OS. I personally develop for Android in windows.
2) Its highly recommended to use CLI as it makes the life easy for adding/removing any plugin usage.
3) For the CLI to work correctly, you may require to install Ant, NodeJS.