flutter_foreground_service_plugin
flutter_foreground_service_plugin copied to clipboard
FlutterForegroundPlugin is private, but flutter will generated registrant file. here can't be created . 
C:\flutter\musicplayer\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java:21: error: FlutterForegroundPlugin() has private access in FlutterForegroundPlugin flutterEngine.getPlugins().add(new changjoopark.com.flutter_foreground_plugin.FlutterForegroundPlugin()); ^ 1 error
java.lang.IllegalArgumentException: com.entersoftware.iperiusremotedesktop: Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent. E/AndroidRuntime(29072): Strongly consider using FLAG_IMMUTABLE, only use FLAG_MUTABLE if...
**Issue** We migrated to flutter 2.0. Now we're getting the following warning, while building our app: ``` Note: C:\Users\\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\flutter_foreground_plugin-0.8.0\android\src\main\java\changjoopark\com\flutter_foreground_plugin\FlutterForegroundPlugin.java uses or overrides a deprecated API. ``` **Environment** * flutter 2.2.0...
private constructor `FlutterForegroundPlugin` is causing build failure. Setting the constructor to being a public class fixed the issue
Currently the plugin set the channel id "flutter_foreground_service_channel", and there's no way to change it through dart code. This PR resolves the issue
Hi, It crash when using flutter_screen_recording plugin: " I/flutter ( 2065): Foreground on Started E/MediaRecorder( 2065): setAudioSource called in an invalid state(4) I/System.out( 2065): Error onMethodCall startRecordScreen I/System.out( 2065): null...