react-native-background-actions icon indicating copy to clipboard operation
react-native-background-actions copied to clipboard

Compiling JS failed: 95405:9:';' expected Buffer size ...

Open DeveloperMCD opened this issue 1 year ago • 3 comments

I get a very bizarre error when I paste the example code into my project, having followed all the directions for installation.

I'm using a Moto G Pure running Android 12.

Do I need to manually do all the setup for Headless JS? This project's documentation was a bit unclear on that. I followed the "getting started" guide and it didn't say to follow all these steps. Maybe I still need to? https://reactnative.dev/docs/headless-js-android

I followed these directions https://github.com/Rapsssito/react-native-background-actions#example-code Including everything under the Install link. https://github.com/Rapsssito/react-native-background-actions/blob/master/INSTALL.md

What causes the error I'm getting? Do I still need to do the underlying Headless JS Android (native code) setup?

DeveloperMCD avatar Jun 23 '23 21:06 DeveloperMCD

Are you able to compile and execute the example folder? https://github.com/Rapsssito/react-native-background-actions/tree/master/examples/backgroundExample

Rapsssito avatar Sep 07 '23 09:09 Rapsssito

Hey @DeveloperMCD did u find any solution ?

xgokhankose avatar Jan 05 '24 15:01 xgokhankose