634f304815
Provide a default and builtin default implementation which finishes the Activity, same as before. What this PR removes is the ability to provide a custom default handler because applications can already take this decision when calling `onBackPressed`. In addition, make `onBackPressed` return `void` because it's virtually impossible for it to return `false` (that would mean that there is no `ReactInstanceManager`, which means there is no app to begin with). In addition, remove the use of `BackAndroid` since `BackHandler` contains an iOS shim now. |
||
---|---|---|
.. | ||
features | ||
.eslintrc-react-native.js | ||
.eslintrc.js | ||
index.native.js | ||
index.web.js |