DEV Community

Kyle Johnson
Kyle Johnson

Posted on

I've released over 100 apps in React Native since 2015, Ask Me Anything!

Latest comments (165)

Collapse
 
aryanavya profile image
aryanavya

I have issues, with the release apk on some devices, when we redirect to another app and comes back to our app gets restart

Collapse
 
000xuandu profile image
Le Xuan Du

Perhaps you have experience with font size handling for all different devices?
I am in need of advice on how to do that.

Collapse
 
kidfrom profile image
kidfrom • Edited

What do you think of building a RN app which use Bluetooth Classic and play async (from an API) audio while the app on the background state?

Most of the hardware will only have a 1GB of RAM and use Android 6.

To be clear, I am building a Push To Talk app.

Collapse
 
bocanceaionut profile image
Bocancea Ionut • Edited

Hello. My app works fine on a simulator but crashes when I release it in testflight.
Libraries that I use:
-react-native-config@1.3.3
-@react-native-community/google-signin@3.0.3
Those are relevant and you will understand why.
I followed advice from the internet and changed the scheme to 'release'. And I get this error at this line after adding a breakpoint:
line: [[GIDSignIn sharedInstance] restorePreviousSignIn]; in RNGoogleSignin.m
error: Thread 1: "You must specify |clientID| for |GIDSignIn|"

Extra, I submitted the crash from testflight and I opened it with Xcode. I get the error at the same line but different texting: Last Exception Backtrace (0)

I need to mention that I pass the clientId using react-native-config library.

Can you help me? :)

Regards.

Late edit: I use Xcode12 and react-native v0.63.3

Collapse
 
amankumarsingh01 profile image
A

I am a beginner, i created a simple weather app and it turned out to be of 60 mb, any suggestion for minification.

Lately i am working on another project the app is slow i am using expo, can you give suggestion how shall i make it robust.

Collapse
 
nihp profile image
nihp

Hi Kyle JohnSon,

I would like to know how the background invite message will be sent in react-native?

I have used react-native-message-composer package. But it only works for iOS. But need the same for android as well.

Did you know any other packages?

Collapse
 
amkaub profile image
amkaub

after release apk when app start show blank screen on some android phones. How to fix it?

Collapse
 
ankushmittalmilestone profile image
ankushmittal-milestone

Hi kyle johnson, I want to make splash screen in react native for both platforms ios and android play audio in background . Please guide me I am beginner in react native.

Collapse
 
prettydev profile image
Max

How to write background push notification functions without using google service?
Now I'm developing china's service, and It's a really difficult problem for me.
Background push notifications must run in android and ios.
Could you give me any advice?

Collapse
 
aditya1501 profile image
aditya1501 • Edited

I have build a deep learning model of image classifier. I want to build an expo app which could take a photo and geolocation. this image should be predicted through deep learning model. And the result should be displayed on screen. I have no experience in app development and read documentation and watched videos but not able to get my answer.I don't even know whether using expo will help or not.

Collapse
 
afouad profile image
Ahmed Fouad

what is the best way for debugging app performance?

Collapse
 
laura013 profile image
Laura

how can I solve the error below after completion of watchman,node,reate-native-cli install
-bash: react-native: command not found, Stuck where it started

Collapse
 
juliavader profile image
juliavader

How do you handle the errors you catched after doing a fetch ? Do you handle every errors for every fetch individualy or do you create a function that will handle them ?

Collapse
 
insomniac807 profile image
Philip Butler

let string = "alert('injection success'); var data = "+this.state.data;
this.webview.current.injectJavaScript(string);

Why is it that the alert runs fine but I cant access the variable data from the html template being rendered by the webview?

I try to call it in the script tag like this

document.addEventListener("DOMContentLoaded", function(event) {
alert(data);
});

Some comments may only be visible to logged-in visitors. Sign in to view all comments.