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
Mobile phone model :Xiaomi HyperOs 1.0.13.0
I added notificationButtons but it didn't take effect. The code is as follows:
` Future start() async { await _requestPlatformPermissions(); await _requestActivityPermission();
final ServiceRequestResult result = await FlutterForegroundTask.startService( serviceId: 500, notificationTitle: 'Pedometer Service is running', notificationText: '这是什么?', notificationButtons: [ const NotificationButton(id: 'edit', text: 'edit'), ], callback: startPedometerService, ); if (result is ServiceRequestFailure) { throw result.error; }
}`
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Mobile phone model :Xiaomi HyperOs 1.0.13.0
I added notificationButtons but it didn't take effect. The code is as follows:
`
Future start() async {
await _requestPlatformPermissions();
await _requestActivityPermission();
}`
The text was updated successfully, but these errors were encountered: