OneSignal / react-native-onesignal

React Native Library for OneSignal Push Notifications Service
Other
1.57k stars 374 forks source link

[question]: Starting a new project in React Native with the new architecture enabled #1675

Open angelo-hub opened 8 months ago

angelo-hub commented 8 months ago

How can we help?

Starting a new project in react native, haven't been able to test it, but does this library work with the new architecture? i.e. the bridgelessmode and turbomodules, etc?

Haven't been able to find a third party notification service that supports this outside of braze

Code of Conduct

renopp commented 7 months ago

I've done an experiment switch from old to new architecture, and the result is the SDK so far works properly But as far as I know if we turn on bridgeless mode the react-native-onesignal should not works

I hope the OneSignal team should do some improvement to support new architecture and bridgeless mode support

oktaysenkan commented 6 months ago

Any update?

jennantilla commented 6 months ago

Hello everyone! Just a quick update that we will be accommodating this new architecture and should have the work completed by the end of the quarter. We'll update you here when it's ready!

chriszs commented 6 months ago

Awesome! Thanks for taking that on and communicating it! Here's what I'm seeing on Android when activating new arch with 4.5.2:

Screenshot 2024-05-14 at 2 28 38 PM

It may finally be time to upgrade to v5, though, and if so that specific error may or may not be relevant.

renopp commented 3 months ago

Hi @jennantilla I hope you're doing well! Could you share an update about the new architecture support?

kutsan commented 4 weeks ago

Could you provide an update on this? React Native v0.76 will include new architecture support enabled by default.

tom-richtr commented 4 days ago

Is there also a plan to enable new architecture for the 4.x prior updating projects to version 5 and new api?