react-native-push-notification icon indicating copy to clipboard operation
react-native-push-notification copied to clipboard

React native 0.75 support

Open Davidemc7 opened this issue 1 year ago • 3 comments

Hi!

I had trouble compiling my project on React Native 0.75.

I had to make changes to the following file and this solved my problem:

node_modules\react-native-push-notification\android\build.gradle

image

I removed the following line and it worked: implementation "$appCompatLibName:$supportLibVersion"

I based myself on the following solution with the react-native-splash-screen library. https://github.com/crazycodeboy/react-native-splash-screen/issues/652.

I'm not sure if this is the right way but it works.

Davidemc7 avatar Oct 04 '24 16:10 Davidemc7

@Davidemc7 Instead of removing the line I would recommend,
implementation "$appCompatLibName:27.1.1" doing this.

tohel17 avatar Oct 09 '24 17:10 tohel17

special thank @Davidemc7 it's work for me

HarryTheMartec avatar Oct 15 '24 07:10 HarryTheMartec

@Davidemc7 Is "onRegister" function getting triggered after you did this patch?

hidaeraldo avatar Oct 16 '24 07:10 hidaeraldo