Comments (10)
I have already encountered problem, because of Android Version (Target Framework).
If you use "Android 8.0 Oreo", install nuget "PushNotificationPlugin 1.2.4" and appears "PushNotificationManager".
If you use "Android 7.1 Nougat" or lower, install nuget "PushNotificationPlugin 1.2.4" and not appears "PushNotificationManager".
How it works:
1º Uninstall nuget "PushNotificationPlugin"
2º Android Properties > Target Framework: "Use Latest Platform (Android 8.0 Oreo) or Android 8.0 Oreo"
3º Close Visual Studio and open again
4º Install nuget "PushNotificationPlugin 1.2.4" and ready, will appear "PushNotificationManager"
Edit: Xamarin Forms not yet ready for "Android 8.0 Oreo". Soon will update "Xamarin Forms".
from pushnotificationplugin.
Same here!
from pushnotificationplugin.
Have you tried the sample? PushNotificationManager is there. It has installed latest version
from pushnotificationplugin.
I installed the library from nuget so I don't have the sample files.
I tried to remove the plugin from the PCL and Droid solutions, then I added it again but the result does not change.
It seems that the PushNotificationManager class is not in the Plugin.PushNotification namespace.
I don't know what the problem is, but in the past I updated the library without issues.
At the moment I am using the previous version. If you have any suggestion let me know so I can do try it.
Thanks
from pushnotificationplugin.
from pushnotificationplugin.
Same issue here. Installed from NuGet but PushNotificationManager does not exist in Droid project.
from pushnotificationplugin.
Please try latest version and let me know if still an issue.
Also try uninstalling your current version and then installing the new one. Confirm your dependencies is as the NuGet packages needs.
from pushnotificationplugin.
I updated the library to the latest version and now it works!
Thank you
from pushnotificationplugin.
Same issue here. I uninstalled and installed PushNotificationPlugin but PushNotificationManager does not exist any Droid project.
Edit: Same issue FirebasePushNotificationPlugin.
from pushnotificationplugin.
It's because of the new project, I've already tested the old project and it works.
Visual Studio v14.x
Image removed
Visual Studio v15.x
Image removed
Edit: Sorry, it has nothing to do with old or new projects. It's the same problem.
from pushnotificationplugin.
Related Issues (20)
- This plugin vs FirebasePushNotificationPlugin HOT 6
- Strange behaviour in IOS HOT 1
- Crash on iOS with version 3.6.9 when tapping notification HOT 2
- The Sample solution does not show the notification
- Initialization Exception in push notification plugin
- Is there possibility to only show specified by payload value on iOS?
- On iOS, "UNNotificationPresentationOptions.Sound" never turns off once it's been activated
- Android dependencies - Not receiving notifications on Android HOT 1
- Android DefaultPushNotificationHandler "silent" flag not case sensitive
- Why do we have to reset token during debug?
- Missing Xamarin.Firebase.Iid package referenced by this plugin HOT 2
- Icon problem
- Android 12 and missing android:exported attribute HOT 15
- iOS 15.4.1 don't open push notification HOT 2
- FirebaseApp is not initialized HOT 2
- .net6 and Maui support? HOT 2
- PNMessagingService Service class requires an Exported attribute starting from Android 12 HOT 1
- How to enable "CriticalAlert" using this plugin? HOT 1
- no valid “aps-environment” entitlement string found for application
- Is there any plan to release this Library for . NET MAUI
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pushnotificationplugin.