-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
React native now use kotlin not java #638
Comments
package com.amessoeurs import android.os.Bundle; class MainActivity : ReactActivity() { /**
/**
Change file MainActivity.kt. |
I have the same problem. I added SplashScreen.show(this) before super.onCreate(savedInstanceState) and it still doesn't work. |
same issue |
Let's give it time the owner will eventually have to update to support Kotlin. Again Kotlin isn't an alternative to React Native maybe checkout Flutter instead |
package com.turtlebuddy import org.devio.rn.splashscreen.SplashScreen; class MainActivity : ReactActivity() { /**
override fun getMainComponentName(): String = "turtleBuddy" /**
|
works like a charm, thanks! |
Its Not Working; import android.os.Bundle; import org.devio.rn.splashscreen.SplashScreen; class MainActivity : ReactActivity() { /** Returns the name of the main component registered from JavaScript. This is used to schedule /** Returns the instance of the [ReactActivityDelegate]. We use [DefaultReactActivityDelegate] |
Following code worked for me
|
Thanks, it worked for me @bkvaiude |
Thanks, it worked. |
I cant include splash screen into react native project, with
old java code becuase my MainApplication file is kotlin not java !!
The text was updated successfully, but these errors were encountered: