Closed Surya-ufours closed 1 year ago
Hi Team, It was working in emulator but not working in real device (Android 11). it throw the following error.
E/flutter (19882): [ERROR:flutter/lib/ui/ui_dart_state.cc(186)] Unhandled Exception: PlatformException(Exception, Attempt to invoke virtual method 'void android.media.Ringtone.setLooping(boolean)' on a null object reference, null, null) E/flutter (19882): #0 StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:581) E/flutter (19882): #1 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:158) E/flutter (19882):
This issue has stalled.
This issue has been closed due to inactivity.
Hi Team, It was working in emulator but not working in real device (Android 11). it throw the following error.
E/flutter (19882): [ERROR:flutter/lib/ui/ui_dart_state.cc(186)] Unhandled Exception: PlatformException(Exception, Attempt to invoke virtual method 'void android.media.Ringtone.setLooping(boolean)' on a null object reference, null, null) E/flutter (19882): #0 StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:581) E/flutter (19882): #1 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:158) E/flutter (19882):