when I use the WebView on expo with an external uri which I’m not the owner (I’m doing an SSO Auth page that uses cookies), if I open on iOS everything works fine, but if I try on Android it gives me error code 2 "SSL ERROR: Hostname Mismatch" and I can’t open the webpage. I don’t know how to solve this in a good way, I’m using react-native-webview with expo sdk 39 (not bare workflow, but totally with expo). Even if i edit the node_modules files in react-native-webview-removing the handleOnSslError check in Android folder it seems to not detect the changes.
Here the console error showed
I hope hearing from you as soon as possible for a solution or a workaround, I'm really in trouble with this problem for weeks!
What I did that I tried with nonsecured URL for example:-
https://google.com
try replacing it with http://google.com
and it worked for me.
Related
After downloading Termux from the Google Play store, FDroid, and Github, I got the error
Unable to Install
Termux was unable to install the bootstrap packages.
Check your network connection and try again.
I looked through Github and found this this reply saying to try to connect to http://termux.net/bootstrap/ in a browser. I tried with the phone I'm trying to put Termux on (Galaxy s5 with Android 6.0.1) and got a response saying 'connection timed out'. I tried on my desktop which is on the same network, and got the same response. I made a simple python script using the requests module on a Replit server and got the same response with error 522.
It seems like the Termux.net website isnt working for some reason, maybe because of a WiFi setting that has to get changed? What else do I try?
Issue is that old links for bootstrap package for Android versions 5 and 6 are not available anymore, for example domain https://termux.net is down and you can not access it.
You can fix this issue by following this wiki:
https://github.com/termux/termux-app/wiki/Termux-on-android-5-or-6
You can install artifacts from this link:
https://github.com/termux/termux-app/actions/runs/2619084610
*Zipped APK file termux-app_v0.118.0+605dd6c-apt-android-5-github-debug_armeabi-v7a can be downloaded from this link:
https://github.com/termux/termux-app/suites/7230045376/artifacts/289921940
*Note: Direct APK link will only work if you are signed in with your GitHub account
works great, just download the apk from link above and install
Thanks nexayq, just make sure you allow installation from unknown sources in your android settings.
Tested on two phones the ones with armeabi64-v8a works to know this just download device info hw from playstore
im quite new on react native and i want to build this app so it can run remotely on device , on debug everything went fine, it uses api and xampp mysql for db
when i try to build apk release and run npx react-native run-android --variant=Release the build is successful but when i open the app it instantly crashed
im wondering if it because my api and db still not hosted yet , must it hosted first and only then u can release it ? i kinda want to try it on device before hosting my db and api
i try adb logcat *:E and this is what i got
https://drive.google.com/file/d/1lv4X2U4QjMyeNMlNTo5jDe243pUMALbl/view
I've fixed it , it just need to use axios https instead of axios http
and i import usestate wrong , bcs its automatic
i've actually tried this before but i think i've tried this fix separately and i already reverted one of them with git , so i thought 2 of these things is not the solution
tried 2 of them again today bcs of desperate and thankfully it worked
The application works fine on debug mode both in the simulator and real device.
The problem occurs when I generate a signed apk and test that.
I am fairly new to react native. I am using react native 0.57.8 .I tried upgrading my react native version to 0.59 and I still couldn't figure out the exact cause of this issue. I added the proguard rules from the official react native page.
I tried doing this link but it still didn't fix my issue. I couldn't figure out where I am missing. I also tried implementing the solutions mentioned in Github repos.
Am I missing out on anything? Is there anything to be added in proguard rules and other files? Please help! I have attached the screenshot of the thrown error.
You can try to enter the IP of your machine to your device from Dev Settings -> Debug server host & port for device in the debug menu available and reload the application. I hope it works.
Am trying to log in the Android Studio for firebase creation but I couldn't sign in it's showing the popup message please sign via the opened browser and loading as long as still.
Anyone, Please solve my problem.
Thanks in Advance.
What is your default browser ? If chrome then change it to Firefox. This is how it worked for me
Make sure that you don't open android studio as a root user. Also if you are cloning a git project do not clone via root user.
If you want to sign in to Android studio , you will have to login via a browser.
It is typically the default browser that will be opened.
You can try to connect with Firebase Assistant. If it doesn't work check your proxy settings and make sure you disabled all proxy for a while.
after that allow your google account to log in with Studio and you done. If you have any doubts comment below
Just downgrade your Firefox version to 58.0 (recommended).
Download Firefox from https://sourceforge.net/projects/ubuntuzilla/files/mozilla/apt/pool/main/f/firefox-mozilla-build/
Install it:
cd Downloads
dpkg -i firefox-mozilla-build_58.0-0ubuntu1_amd64.deb
Make Firefox your default browser.
Try again to connect.
Check the default browser on your desktop, and select one of the browsers on your desktop after that, repeat the sign in again
I could really use some help here.. I was using Phonegap build to build my (android) app with pretty much some JS, HTML5 and CSS.. I finished the project and was testing it by scanning the QR code and getting it on my android. Anyways all was fine and I was ready to upload to the android marketplace. After trying to upload the apk I got an error message saying the app was declared in debug mode (even though i never had debugging enabled in phonegap) after a little more research I then found out that I need to be running this in Eclipse and it needs to be signed. So I read the android documentation on signing and what not but I have no idea how to get over this hump.
I am like a lost puppy because I dont know eclipse and the app is finished. So I try to import my already done files into eclipse how I think I should be importing it and I get the error message that AndroidManifest.xml cant be found.. I have no idea the steps I need to take next, I am guessing I just need to import this puppy into eclipse so I can sign it and then I am assuming I will be able to upload to the marketplace?
Any advice for me knowing where I am in my project and what I need to do to get this off the ground? I am a complete noob and feel so lost.
[edit] it may be worth noting that I built this with Phonegap build and altough I do not have AndroidManifest.xml, I do have config.xml and all I really need to know is how to apply my signing key and I guess keep google marketplace from seeing it as being in "debug" mode.
Thanks for reading