Hi all, recently I updated my rn project in order to use gradle 4.4 (because of firebase integration) and suddenly my app started crashing everytime I call the getAll method.
Sadly I'm not even able to debug it natively since I've got some gradle problems there
Is it possible that these two things are correlated?
I also tried to apply this PR #258 manually, but it didn't work
Thanks, we've solved it!
Basically we changed the target sdk too while editing the build.gradle and with that one (27), it's needed the permissions request... without it the app crashes
PS. I'm strongly convinced that it depends on the target sdk and not on the android OS version as someone else stated in some other issue, this because I've never changed the os version on the emulator
Got it. I'll leave this open in case others run into issues as well.
我也遇到这个问题
@dltjiangfeipeng really?
So you believe we should all know your language? 😅
How did you fix it
@giacomocerquone 我刚遇到,还没有解决,谢谢
+1
I wrote in my second-last comment (https://github.com/rt2zz/react-native-contacts/issues/303#issuecomment-392618137) how I fixed it guys... if this doesn't work for you, sadly I can't do nothing! The library too has its problems, so it may be something else (see this for example #247 or this #291)
Thanks @giacomocerquone
i tried that and it doesnt work for me :( still get crash when i called getAll...
Most helpful comment
Thanks, we've solved it!
Basically we changed the target sdk too while editing the build.gradle and with that one (27), it's needed the permissions request... without it the app crashes
PS. I'm strongly convinced that it depends on the target sdk and not on the android OS version as someone else stated in some other issue, this because I've never changed the os version on the emulator