When building for Android, the following build error occurs.
node_modules\@react-native-cookies\cookies\android\src\main\java\com\reactnativecommunity\cookies\CookieManagerModule.java:111: error: local variable promise is accessed from within inner class; needs to be declared final
promise.resolve(data);
If I go to the file in node_modules and make the promise variable final, the build succeeds.
When building for Android, the following build error occurs.
If I go to the file in node_modules and make the
promise
variablefinal
, the build succeeds.