We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I wanna to make my app reponsible to the config change.
As per https://tauri.app/develop/plugins/develop-mobile/#plugin-events, the trigger function only works in plugins. But the config change handler should be defined in MainActivity.
trigger
MainActivity
<activity android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|smallestScreenSize|screenLayout|uiMode"> </activity> class MainActivity : TauriActivity() { override fun onConfigurationChanged(newConfig: Configuration) { ... } }
Can we support trigger function in MainActivity as well?
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the problem
I wanna to make my app reponsible to the config change.
Describe the solution you'd like
As per https://tauri.app/develop/plugins/develop-mobile/#plugin-events, the
trigger
function only works in plugins. But the config change handler should be defined inMainActivity
.Can we support
trigger
function inMainActivity
as well?Alternatives considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: