mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2026-05-16 13:27:51 +00:00
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.