-
Notifications
You must be signed in to change notification settings - Fork 65
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
[OTA Event Status] Permission not granted error (Harmony OS 3.0.0) #118
Comments
I have the same problem. Permission not granted with xiaomi and huawai. Any idea? |
I forgot why this issue appear, Future<void> requestPermissions() async {
var status = await Permission.storage.status;
if (!status.isGranted) {
await Permission.storage.request();
}
} Let me know if the issue fixed. Then I mark this issue as closed. |
I do it but send the same error |
Hello, I continue with the error. Any idea how to solve it? Thank you so much!! |
Check your manifest..
|
I have the same problem My manifest is this:
|
I see.. this should fix your problem
|
I got the error permission not granted before starting the OtaUpdate()
I tried in Emulator android API 34 and other different brand smartphone with Android 14 no issues, but with Harmony OS 3.0.0 permission not granted.
D/FLUTTER OTA(29480): STREAM CLOSED D/FLUTTER OTA(29480): STREAM OPENED D/FLUTTER OTA(29480): REQUEST PERMISSIONS RESULT RECEIVED E/FLUTTER OTA(29480): ERROR: Permission not granted
The text was updated successfully, but these errors were encountered: