Have also opened an thread on StackOverflow:
https://stackoverflow.com/questions/64088379/travis-ci-react-native-build-fails-with-error-app-is-assigned-to-undefined.
Hello @fazlizekiqi,
Does this happen when you try to build locally?
No. It worked perfectly locally.