(quick backstory)
My friend and I are working on a react native project. He started development on iOS and the app builds successfully. Now I'm joining the fun by being the android guy.
After cloning, installing npm packages, and setting up adb for my device, the app installs on my phone by when I tap on it, it crashes. react-native run-android
finishes with BUILD SUCCESSFUL.
Because I can't find any logs, I messed with the "working" (as far as iOS is concerned) version and introduced an error just so I can enable remote debugging from the device. Chrome opened a tab for me, the "React Native Debugger". This is what it says:
Error message: SyntaxError: Unexpected token u in JSON at position 0
Any ideas? My friend is stumped as well.
Edit 1: It's an aws-amplify issue (https://github.com/aws-amplify/amplify-js/issues/1276) but it doesn't say what the fix is