[ReactNative] Replace Backstack with BackAndroid

This commit is contained in:
Eric Vicenti
2015-04-07 16:03:35 -07:00
parent f2d08f599b
commit 31b6ff6d1a
3 changed files with 32 additions and 141 deletions

View File

@@ -0,0 +1,21 @@
/**
* iOS stub for BackAndroid.android.js
*
* @providesModule BackAndroid
*/
'use strict';
var warning = require('warning');
function platformWarn() {
warning(false, 'BackAndroid is not supported on this platform.');
}
var BackAndroid = {
exitApp: platformWarn,
addEventListener: platformWarn,
removeEventListener: platformWarn,
};
module.exports = BackAndroid;