Giter Site home page Giter Site logo

Comments (8)

rdelrosario avatar rdelrosario commented on June 14, 2024

Did you check the FAQ section?

from pushnotificationplugin.

msdYqb avatar msdYqb commented on June 14, 2024

yes i did, one thing to note is I don't find Android Support Library in
android SDK Manager

from pushnotificationplugin.

rdelrosario avatar rdelrosario commented on June 14, 2024

What phone are you testing on?

from pushnotificationplugin.

msdYqb avatar msdYqb commented on June 14, 2024

Samsung SM-J510F

from pushnotificationplugin.

rdelrosario avatar rdelrosario commented on June 14, 2024

Are you debugging when you kill the app?

from pushnotificationplugin.

rdelrosario avatar rdelrosario commented on June 14, 2024

You won't receive any push notifications if application is stopped while debugging, should reopen and close again for notifications to work when app closed. This is due to the application being on an unstable state when stopped while debugging.

from pushnotificationplugin.

msdYqb avatar msdYqb commented on June 14, 2024

no I'm not debugging I've tried it with release build

from pushnotificationplugin.

msdYqb avatar msdYqb commented on June 14, 2024

IT WORKS! turn out the problem is with the CrossBadge Plugin!
ive tried this

        //Handle notification when app is closed here
        CrossPushNotification.Current.OnNotificationReceived += (s, p) =>
        {
            string libraryPath = System.Environment.GetFolderPath(System.Environment.SpecialFolder.Personal); ;
            var path = Path.Combine(libraryPath, "test.txt");
            File.WriteAllText(path, "testing");
        };

and it works as the file actually created with testing value
Thanks !

from pushnotificationplugin.

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.