xyfoo / Baidu.Android.PushService

Xamarin.Android Bindings for Baidu Push Notification Service
MIT License
2 stars 3 forks source link

Cannot get UserID & ChannelID #2

Closed vulcanlee closed 5 years ago

vulcanlee commented 5 years ago

I have created a test Xamarin App on 20 Mar and can get UserID & ChannelID on SendRegistrationToAppServer method and it work no problem.

But, today, I open this project and run this test program and cannot get UserID & ChannelID on SendRegistrationToAppServer method.

I don't know what happened it is, could you help me?

vulcanlee commented 5 years ago

Could help me that run your test App, check whether it can receive push notification?

vulcanlee commented 5 years ago

I have update my project as following

  1. Update Xamarin.Android.Support.xxx package to lastest version 28.0.0.1
  2. Add Libs folder on Androd project and set Build Action of libdppush_2_9.so to AndroidNativeLibrary

It work fine