Git Product home page Git Product logo

Comments (9)

ozcanozgur avatar ozcanozgur commented on June 3, 2024 1

Hi @blexxed, thank you for your interest in our Huawei Push React Native Plugin,

Could you give us more information about this error?
Which state you faced with that issue?

We tried to upgrade old version demo with version "5.1.1-301" and there is no error like that.

I will share a link for you, could you please try our last version demo.

https://developer.huawei.com/consumer/en/doc/development/HMS-Plugin-Library-V1/reactnative-plugin-0000001050155850-V1

from hms-react-native-plugin.

ozcanozgur avatar ozcanozgur commented on June 3, 2024 1

Hi @ALL,

The new version of push kit plugin released.

https://www.npmjs.com/package/@hmscore/react-native-hms-push
https://github.com/HMS-Core/hms-react-native-plugin/tree/master/react-native-hms-push

Thank You.

from hms-react-native-plugin.

amjadbouhouch avatar amjadbouhouch commented on June 3, 2024

Hi @blexxed,
I'm facing this issue right now, is there any update?

from hms-react-native-plugin.

Krish143git avatar Krish143git commented on June 3, 2024

hi guys, i am also facing the same issue app is not opening in android,But it is working on hms core apk presented device ,but not working in google service device.And also when i uninstall hms-push pkg it is opening in google service phones and when i install it is not opening in google service phones

this is the logcat i am getting in android studio when opening

Attempt to invoke virtual method 'android.content.Context android.content.Context.getApplicationContext()' on a null object reference
at com.huawei.hms.rn.push.logger.HMSLogger.getInstance(HMSLogger.java:100)
at com.huawei.hms.rn.push.remote.HmsPushMessageService.onTokenError(HmsPushMessageService.java:107)
at com.huawei.hms.push.HmsMessageService.a(HmsMessageService.java:34)
at com.huawei.hms.push.HmsMessageService.a(HmsMessageService.java:29)
at com.huawei.hms.push.HmsMessageService.handleIntentMessage(HmsMessageService.java:7)
at com.huawei.hms.push.HmsMessageService$a.handleMessage(HmsMessageService.java:7)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loop(Looper.java:238)
at android.app.ActivityThread.main(ActivityThread.java:7878)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:512)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1028)

from hms-react-native-plugin.

m1kys avatar m1kys commented on June 3, 2024

I have the same issues after update ^

from hms-react-native-plugin.

blexxed avatar blexxed commented on June 3, 2024

Hi @blexxed, thank you for your interest in our Huawei Push React Native Plugin,

Could you give us more information about this error?
Which state you faced with that issue?

We tried to upgrade old version demo with version "5.1.1-301" and there is no error like that.

I will share a link for you, could you please try our last version demo.

https://developer.huawei.com/consumer/en/doc/development/HMS-Plugin-Library-V1/reactnative-plugin-0000001050155850-V1

Hi @ozcanozgur,

I checked the example demo app. I noticed that the react native version is 0.60.0
https://github.com/HMS-Core/hms-react-native-plugin/blob/master/react-native-hms-push/example/package.json

The crash I encountered is on fresh react native install with a more recent version of 0.64.1

from hms-react-native-plugin.

nolife08021 avatar nolife08021 commented on June 3, 2024

@blexxed @ozcanozgur "react-native": "0.61.2". facing same issue.

from hms-react-native-plugin.

ozcanozgur avatar ozcanozgur commented on June 3, 2024

hi @ALL,

We have fixed the problem. The new version will be released on the next month.

For a quick fix auto_init should be false.

image

image

https://developer.huawei.com/consumer/en/doc/development/HMSCore-Guides-V5/android-client-dev-0000001050042041-V5#EN-US_TOPIC_0000001133945413__section13546121751811

Thank you.

from hms-react-native-plugin.

blexxed avatar blexxed commented on June 3, 2024

Hello @ozcanozgur, are there any updates on this?

from hms-react-native-plugin.

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.