Does react native support development for below android 5.0 apps - react-native

I was developing app for 4.2.2 but unable to run adb reverse command as the react documentation says it wont suport below 5.0. Hence I am unable to produce apk
Using adb reverse
Note that this option is available on devices running android 5.0+ (API 21).
Have your device connected via USB with debugging enabled (see paragraph above on how to enable USB debugging on your device).
Link: http://facebook.github.io/react-native/releases/0.18/docs/running-on-device-android.html#content

Related

Windows 10 WSL2 expo cannot find simulated android device from Android Studio

I am new to android development and am trying to learn react-native by following a tutorial here. The problem is whenever I try to start my react-native project within my simulated android device, expo cli cannot find it. This step is at the 25 minute mark of the video and my progress can be summarized as follows:
I have react-native on my machine and have installed expo cli
I've downloaded Android Studio which is located: C:\Users..\AppData\Local\Android\Sdk
I have my emulated android device up and running via Virtual Device
Manager
After typinng "npm start" When I type "a" within the terminal of WSL to run this app on my virtual android device I get the following message when it tries to open the emulator:
No Android connected device found, and no emulators could be started
automatically. Please connect a device or create an emulator
(https://docs.expo.dev/workflow/android-studio-emulator).
At which point my expo developer tools browser window displays that
Expo Developer Tools is disconnected from Expo CLI. Use the expo start
command to start the CLI again
When I goto the terminal and do this, it just restarts this failure over again when I type "a" to start my app in the simulated android device. Some of the solutions I've tried are:
following the documentation on the workflow android studio emulator link. I find though that all of the options within my version of android studio look drastically different, and that my file location is much different than what they have listed.
uninstalling and reinstalling Android Studio
Making sure SDK tools is checked as per this stack overflow post
following the instructions in this stack overflow post, however I am not trying to connect a phone via usb so this does not help me.
My setup is as follows:
OS: Windows 10
VM: WSL2 Ubuntu 20.04.3 LTS
Text Editor: Visual Studio Code 1.63.2
Android Studio: BumbleBee 2021.1.1
Expo CLI version: 5.0.3
here are some screen shots:
^ that one is right before I try to type "a" within the expo cli within terminal.

How to build iOS apps using react- native on window 10

I am new in react-native. I want to build an android and iOS application by using react-native. I used the Windows 10 to build the react-native project and it is ok when I run the android app using Android SDK or real device but cannot on iOS devices. I have researched this problem and know that I need to use macOS to run the iOS apps. Is it possible to build iOS apps using any iOS simulator on Windows 10?
for exporting ios apps you must have a MAC system(X-code) or you can do it in windows with VMvare that have a virtual Mac system ,and in next step you must have a developer account then other steps are simple :)
The best way to develop in react native if you did not have access to MAC OSX environment is to use EXPO as it will ensured the app could run on android and iOS.
The second option would be using private cloud Mac like MacStadium.

'react-native run-android' with USB tethering not installing app on device (note 4)

I am trying to test my app through USB tethering (this app is currently working on Xcode and iOS Emulator). I have enabled tethering on 'Developer Options on my phone'
About Device
Samsung Note 4
Android 6.0.1
This is what i tried.
I ran this command
adb devices
react-native run-android
But the app is not installing on my Phone. Am i missing a step?
I've never done this with USB tethering. It seems like you need to do a bit more wiring to set up the app on your device outside of sharing internet connection. If you are open to an easy alternative you can try using Expo with create-react-native-app. If you have a simple app, you can run your code on your actual device by scanning a QR code.
The quickest way I've found to do test this out is with repl.it.

Connecting Actual iPhone to the Mobile test workbench shows white screen on iPhone

I have installed Mobile Test Workbench 8.5.1.2 (Latest from eclipse marketplace) in Eclipse Kepler.
I have recently updated IBM Rational Test Workbench Mobile Client on iPhone.
My previous question regarding instrumentation of iOS app for emulator
Now I am trying to connect actual iPhone to the MTWW server but the application I downloaded from iTunes is not connecting to it. It only shows white screen when I hit url :
http://ipaddress:7878/mobile/
but it shows some list of URLs, including /mobile, when I hit:
http://ipaddress:7878/
The iPhone model is: 4s
iOS is: 6.1
So what can be the problem here? Whether is it bug in iOS client app?
When I try to connect it to the MTWW server running on windows machine then sometimes it gets connected.
Below given are environment specification of my system
System: MacBook Pro
OS X version: 10.8.5
Worklight: 6.1
Emulator: 6.1
Build for iOS: 6.1

Worklight 6.1 - Error on Blackberry 10

I'm using Worklight Studio 6.1.0.00-20131219-1900 and trying to build an app for Blackberry 10
I create a new Worklight app (no customizations other than adding the blackberry 10 environment), run it on the Worklight server, and use ripple to build and deploy to the blackberry 10 simulator.
The app installs on the simulator, But when it launches, I immediately get a JavaScript error:
[ERROR] Error initializing Cordova: Extension Device not found
This is possibly related to a problem seen with Cordova 3.1 (see: Error initializing cordova: Extension device not found in PhoneGap 2.9.0 and blackberry10 webworks application) but I'm not seeing any solutions.
Is there any way to get Worklight 6.1 apps to work on Blackberry 10?
My guess is that your issue is mentioned in infocenter
http://pic.dhe.ibm.com/infocenter/wrklight/v6r1m0/index.jsp?topic=%2Fcom.ibm.worklight.dev.doc%2Fdevref%2Ft_creating_a_new_ibm_BlackBerry_10_environment.html
basically, did you do the "ant qnx copy-extensions" command ?