oracle / oracle/pushiomanager-react-native

After update to 7.0.0 Android crashes immediately

Open
#75 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
19
Forks
19
PR merge metrics
No merged PRs in 30d

Description

Issue Description:
We are encountering a NoSuchMethodError when using the @oracle/react-native-pushiomanager module, version 7.0.0, in our React Native application. This issue is specific to Android devices.

obs: it was working in previous version as it should.

The error stack trace is as follows:

Image

The error is occurring when we try to open the app, the app builds successfully.

Our files related with the lib:

settings.gradle
Image

PushIOManager folder
Image

app/build.gradle
Image

app/src/main/java/project/MyRNFirebaseMessagingReceiver.java
Image

AndroidManifest.xml
Image
Image
Image
Image
Image

Steps to Reproduce:
Install @oracle/react-native-pushiomanager version 7.0.0.
Then try to run the app
Expected Behavior:
The application loads successfully and is able to receive push notifications.

Actual Behavior:
The app crashes with a NoSuchMethodError when trying to open the app.

Affected Environment:
Library Version: @oracle/react-native-pushiomanager@7.0.0
Platform: Android
React Native Version: 0.76.6
Device Information: Occurs across multiple Android devices.

Please advise if there are any known fixes or workarounds for this issue.
Any guidance on this matter would be greatly appreciated.

Thank you!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the Android startup crash with @oracle/react-native-pushiomanager 7.0.0 and inspect the NoSuchMethodError stack trace. Review settings.gradle, app/build.gradle, PushIOManager, MyRNFirebaseMessagingReceiver.java, and AndroidManifest.xml; done means the app opens successfully and can receive push notifications.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java, react-native
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.