Skip to content

Commit 774cd73

Browse files
rdyfacebook-github-bot
authored andcommitted
Remove BackAndroid, which has had a deprecation warning (#21866)
Summary: Remove BackAndroid, which has had a deprecation warning and only forwarded to BackHandler since March 2018. Test Plan --------- React-native init bundle and RNTester bundle works. Release Notes: -------------- [ ANDROID ] [ BREAKING ] [ BackAndroid ] - Deprecate BackAndroid since BackHandler should be used in its place. Pull Request resolved: #21866 Differential Revision: D10472419 Pulled By: TheSavior fbshipit-source-id: 3d76e1ce4c74bb783fee7fd8232bb366f2e7ea12
1 parent 6b0e924 commit 774cd73

File tree

2 files changed

+0
-57
lines changed

2 files changed

+0
-57
lines changed

Libraries/Utilities/BackAndroid.js

-54
This file was deleted.

Libraries/react-native/react-native-implementation.js

-3
Original file line numberDiff line numberDiff line change
@@ -195,9 +195,6 @@ module.exports = {
195195
get AsyncStorage() {
196196
return require('AsyncStorage');
197197
},
198-
get BackAndroid() {
199-
return require('BackAndroid');
200-
}, // deprecated: use BackHandler instead
201198
get BackHandler() {
202199
return require('BackHandler');
203200
},

0 commit comments

Comments
 (0)