Git Product home page Git Product logo

Comments (10)

91priyansh avatar 91priyansh commented on June 23, 2024 1

@mmustafavistech i found the solution

i have added these lines in my application.kt file..

if (!registry!!.hasPlugin("io.inway.ringtone.player")) {
FlutterRingtonePlayerPlugin.registerWith(registry!!.registrarFor("io.inway.ringtone.player.FlutterRingtonePlayerPlugin"))
}

and do not forget to import import io.inway.ringtone.player.FlutterRingtonePlayerPlugin

if you wanted to see full file link is here https://github.com/91priyansh/facetime/blob/main/android/app/src/main/kotlin/com/facetime/face_time/facetime/Application.kt

from flutter_ringtone_player.

chitraarasu avatar chitraarasu commented on June 23, 2024 1

Just stop the app and re-run the app. It would work

from flutter_ringtone_player.

91priyansh avatar 91priyansh commented on June 23, 2024

@Bharavi26 need to register plugin in appplication.kt if you are using this in firebase backgroundmessagehandler

from flutter_ringtone_player.

mmustafavistech avatar mmustafavistech commented on June 23, 2024

any working on this?

from flutter_ringtone_player.

hemabhravee avatar hemabhravee commented on June 23, 2024

I'm facing the same issue, and I'm not using firebase backgroundmessagehandler. Any suggestions?

from flutter_ringtone_player.

sayak87 avatar sayak87 commented on June 23, 2024

@91priyansh thank you so much that worked like a charm!

from flutter_ringtone_player.

karebet avatar karebet commented on June 23, 2024

I'm facing the same issue, and I'm not using firebase backgroundmessagehandler. Any suggestions?

@hemabhravee
if you see a reference from @91priyansh . you see a Firebase Plugin, if you don't use Firebase you just delete it.
example :

import io.flutter.embedding.android.FlutterActivity
import io.flutter.plugin.common.PluginRegistry
import io.inway.ringtone.player.FlutterRingtonePlayerPlugin

class MainActivity: FlutterActivity(),PluginRegistry.PluginRegistrantCallback  {
     override fun registerWith(registry: PluginRegistry?) {
        if (!registry!!.hasPlugin("io.inway.ringtone.player")) {
            FlutterRingtonePlayerPlugin.registerWith(registry!!.registrarFor("io.inway.ringtone.player.FlutterRingtonePlayerPlugin"))
        }
    }
}

from flutter_ringtone_player.

nibiru2O12 avatar nibiru2O12 commented on June 23, 2024

experienced this on windows.

try enabling developer mode:

run: start ms-settings:developers

from flutter_ringtone_player.

github-actions avatar github-actions commented on June 23, 2024

This issue has stalled.

from flutter_ringtone_player.

github-actions avatar github-actions commented on June 23, 2024

This issue has been closed due to inactivity.

from flutter_ringtone_player.

Related Issues (20)

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.