Skip to content

Commit

Permalink
Remove BackAndroid, which has had a deprecation warning (#21866)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
rdy authored and facebook-github-bot committed Oct 19, 2018
1 parent 6b0e924 commit 774cd73
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 57 deletions.
54 changes: 0 additions & 54 deletions Libraries/Utilities/BackAndroid.js

This file was deleted.

3 changes: 0 additions & 3 deletions Libraries/react-native/react-native-implementation.js
Original file line number Diff line number Diff line change
Expand Up @@ -195,9 +195,6 @@ module.exports = {
get AsyncStorage() {
return require('AsyncStorage');
},
get BackAndroid() {
return require('BackAndroid');
}, // deprecated: use BackHandler instead
get BackHandler() {
return require('BackHandler');
},
Expand Down

0 comments on commit 774cd73

Please sign in to comment.