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
can i Open app after accept call from a notifiaction of call ?
@pragma('vm:entry-point') Future<void> onCallAcceptedWhenTerminated(CallEvent callEvent) async { print("--------------------------------------------------------"); print("BK onCallAcceptedWhenTerminated $callEvent"); print("--------------------------------------------------------"); BgLauncher.bringAppToForeground( action: 'FBI-OPEN-UP', extras: { "title": "FBI OPEN UP", "message": "The FBI is open up!", "color": "#FF0000", "priority": "high", "visibility": "public", "notificationId": "1", }, ); BackgroundToForeground.bringToForeground(); // the call was accepted const packageName = 'com.example.example'; const intent = AndroidIntent( action: 'android.intent.action.MAIN', package: packageName, flags: <int>[Flag.FLAG_ACTIVITY_NEW_TASK], componentName: 'com.example.example.MainActivity', ); await intent.launch(); }
all of this failed
The text was updated successfully, but these errors were encountered:
@TatankaConCube please help
Sorry, something went wrong.
please have a look at similar issue #113
No branches or pull requests
can i Open app after accept call from a notifiaction of call ?
i have used code like
all of this failed
The text was updated successfully, but these errors were encountered: