mirror of
https://github.com/tappollo/react-native-safari-view.git
synced 2026-01-12 22:45:21 +08:00
Fixing For Android as its giving error on isAvailable()
This commit is contained in:
@@ -11,6 +11,11 @@ var warning = require('warning');
|
||||
var SafariViewManager = {
|
||||
test: function() {
|
||||
warning('Not yet implemented for Android.');
|
||||
},
|
||||
isAvailable() {
|
||||
return new Promise(function(resolve, reject) {
|
||||
resolve(false);
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user