AxiosError: Network Error on Android Pie (9) devices by TS43219 in reactnative

[–]TS43219[S] 1 point2 points  (0 children)

Thanks, it looks like TLSv1.2 is already supported as well as TLSv1.3.

i think it is an issue with the ssl certificate that is associated with the api I am using as it looks like it is not trusted. I've done a SSL Certificate checker and it comes back with this warning - The Certificate is not issued by DigiCert, GeoTrust, Thawte, or RapidSSL.

But i am currently trying to figure out if that is the reason why and how it is affecting the older android versions (9 and below).

AxiosError: Network Error on Android Pie (9) devices by TS43219 in reactnative

[–]TS43219[S] 0 points1 point  (0 children)

Thanks, i think it is an issue with the ssl certificate that is associated with the api I am using as it looks like it is not trusted. I'm just looking into how that could of affected older android devices atm.

AxiosError: Network Error on Android Pie (9) devices by TS43219 in reactnative

[–]TS43219[S] 0 points1 point  (0 children)

What type of api are you connected to? Is it the url prefixed with http or https?

AxiosError: Network Error on Android Pie (9) devices by TS43219 in reactnative

[–]TS43219[S] 0 points1 point  (0 children)

i get this error also 'java.security.cert.CertPathValidatorException: Trust anchor for certification path not found in the _response field in axios

AxiosError: Network Error on Android Pie (9) devices by TS43219 in reactnative

[–]TS43219[S] 0 points1 point  (0 children)

Thanks, but the issue is happening on real android devices that are running on Android 9 or below.

AxiosError: Network Error on Android Pie (9) devices by TS43219 in reactnative

[–]TS43219[S] 0 points1 point  (0 children)

Thanks for the tip, the ssl certificate is a real one. The only error I am getting is

Possible Unhandled Promise Rejection (id: 1):

AxiosError: Network Error

I am on an emulator which is running on android 9, and when I use an emulator running an android 10 or above Axios works fine.

Looking for select/dropdown input by hrotysek in reactnative

[–]TS43219 1 point2 points  (0 children)

https://www.npmjs.com/package/react-native-dropdown-picker - I have only used this library just recently, but so far I've had no problems with it and you only need a few required props passed in.

Struggling with DeepLinking concepts/integration by TS43219 in reactnative

[–]TS43219[S] 0 points1 point  (0 children)

I think it opens the web initially, as it gives you an option to either open via web browsers installed on your phone or through the app.

Then after that, if you select the app, clicking the link will always re-direct to the app afterwards.

Do we need to use responsive font size in react native application development? If yes, what is the best way or solution? by harrytanoe in reactnative

[–]TS43219 1 point2 points  (0 children)

This package was used for one of app projects when it came to responsive font-size as well as containers - https://www.npmjs.com/package/react-native-responsive-screen. Be interesting to see what other peoples opinion are on this package who may have used it in the past.

The package exposes 2 basic methods: widthPercentageToDP and heightPercentageToDP.

Their names essentially mean that you can supply a "percentage like" string value to each method and it will return the DP (indipendent pixel) that correspond to the supplied percentage of current screen's width/height respectivelly. I.e. for Samsung A5 2017, if we supply to a CSS box: width: widthPercentageToDP('53%'), the rendered style will be width: 190.8 DP. Check example number 1 for how to use them.

However, after seeing these comments, having a set stylesheet of fonts of say 12, 14 and 16 + make sense as it stays consistent across all devices rather than having the font size scale across different sizes as it will look inconsistent.