GithubHelp home page GithubHelp logo

flutter_media_notification's People

Contributors

juliocbcotta avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

flutter_media_notification's Issues

[Question] Buttons

Is it possible to customize the control buttons? like removing "next" and "previous"?

[!] No podspec found for `media_notification_control` in `.symlinks/plugins/media_notification_control/ios`

I see the below error while I do pod install or pod update or try to run the App in iOS device.

[!] No podspec found for media_notification_control in .symlinks/plugins/media_notification_control/ios

Flutter Doctor below

Mohameds-MacBook-Pro:ios mohamedshaikna$ flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel master, v1.16.4-pre.18, on Mac OS X 10.15.3 19D76, locale en-IN)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
[✓] Xcode - develop for iOS and macOS (Xcode 11.3)
[✓] Chrome - develop for the web
[✓] Android Studio (version 3.5)
[✓] Connected device (3 available)

• No issues found!

Ошибки в Google Play Console.

Использовал плагин в своем приложении, получаю такие ошибки:

java.lang.RuntimeException: 
  at android.app.ActivityThread.handleReceiver (ActivityThread.java:3641)
  at android.app.ActivityThread.access$2000 (ActivityThread.java:221)
  at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1876)
  at android.os.Handler.dispatchMessage (Handler.java:102)
  at android.os.Looper.loop (Looper.java:158)
  at android.app.ActivityThread.main (ActivityThread.java:7225)
  at java.lang.reflect.Method.invoke (Native Method)
  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:1230)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1120)
Caused by: java.lang.NullPointerException: 
  at com.example.medianotification.MediaNotificationPlugin.show (MediaNotificationPlugin.java:76)
  at com.example.medianotification.NotificationReturnSlot.onReceive (NotificationReturnSlot.java:18)
  at android.app.ActivityThread.handleReceiver (ActivityThread.java:3634)

как можно исправить ситуацию? видел что плагин больше не поддерживается, но аналогов я не нашел а сам только начал разбираться во Flutter, на Java не программировал, сам не могу поправить.

BackKey problem :(

when I left the application with the back key and when I pressed the buttons on the notification,
flutter said me that -> FlutterView.send called on a detached view

Could you help?

Media notification not disposing

The media dispose notification keeps alive even when hiding it on dispose, and when interacting with it after closing the app, it says "[app_name] has stopped":

@override
  void dispose() {
    hide();
    super.dispose();

  }

  Future<void> hide() async {
    try {
      await MediaNotification.hide();
      setState(() => status = 'hidden');
    } catch(e) {
      print(e);
    }
  }

Add image

Good day to all,

Is it possible to add an image in the notification?

Android X error

Users/bhavneetsingh/Downloads/flutter/.pub-cache/git/flutter_background_audio-9ef1c9f68d9e8fa99bcf9427c2bd8a9ea91b2cfb/android/src/main/java/com/backgroundaudio/AudioPlayer.java:17: error: package android.support.annotation does not exist import android.support.annotation.Nullable; ^ /Users/bhavneetsingh/Downloads/flutter/.pub-cache/git/flutter_background_audio-9ef1c9f68d9e8fa99bcf9427c2bd8a9ea91b2cfb/android/src/main/java/com/backgroundaudio/AudioPlayer.java:18: error: cannot find symbol import android.support.v4.app.NotificationCompat; ^ symbol: class NotificationCompat location: package android.support.v4.app /Users/bhavneetsingh/Downloads/flutter/.pub-cache/git/flutter_background_audio-9ef1c9f68d9e8fa99bcf9427c2bd8a9ea91b2cfb/android/src/main/java/com/backgroundaudio/AudioPlayer.java:91: error: cannot find symbol @Nullable ^ symbol: class Nullable location: class AudioPlayer /Users/bhavneetsingh/Downloads/flutter/.pub-cache/git/flutter_background_audio-9ef1c9f68d9e8fa99bcf9427c2bd8a9ea91b2cfb/android/src/main/java/com/backgroundaudio/AudioPlayer.java:260: error: package NotificationCompat does not exist NotificationCompat.Builder nBuilder = new NotificationCompat.Builder(this, CHANNEL) ^ /Users/bhavneetsingh/Downloads/flutter/.pub-cache/git/flutter_background_audio-9ef1c9f68d9e8fa99bcf9427c2bd8a9ea91b2cfb/android/src/main/java/com/backgroundaudio/AudioPlayer.java:263: error: cannot find symbol .setVisibility(NotificationCompat.VISIBILITY_PUBLIC) ^ symbol: variable NotificationCompat

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.