avishayil / react-native-restart

React Native Package With One Purpose: To Restart Your React Native Project
MIT License
926 stars 145 forks source link

Library projects cannot set applicationId. applicationId is set to 'com.reactnativerestart' in default config. #231

Closed Sunshine168 closed 1 year ago

Sunshine168 commented 1 year ago

com.android.builder.errors.EvalIssueException: Library projects cannot set applicationId. applicationId is set to 'com.reactnativerestart' in default config.

https://github.com/avishayil/react-native-restart/blob/master/android/build.gradle#L29

after remove this line then work

a2f0 commented 1 year ago

I am receiving the same error. It looks like it just surfaced in v0.0.26

avishayil commented 1 year ago

Thanks, indeed. I'm releasing a hotfix.

avishayil commented 1 year ago

Fixed in https://github.com/avishayil/react-native-restart/commit/c1552e35103e074fcb1eca0f8cc36a83825d4209