Skip to content
Permalink
Browse files
android: Delete PRIVATE_API bridge mode enum, since it was removed in…
… 4.0.0
  • Loading branch information
agrieve committed Apr 24, 2015
1 parent b62fa44 commit 69ae6c979bd30697c04d6200535b1878da4311c4
Showing 1 changed file with 1 addition and 5 deletions.
@@ -51,11 +51,7 @@ var cordova = require('cordova'),
// For the ONLINE_EVENT to be viable, it would need to intercept all event
// listeners (both through addEventListener and window.ononline) as well
// as set the navigator property itself.
ONLINE_EVENT: 2,
// Uses reflection to access private APIs of the WebView that can send JS
// to be executed.
// Requires Android 3.2.4 or above.
PRIVATE_API: 3
ONLINE_EVENT: 2
},
jsToNativeBridgeMode, // Set lazily.
nativeToJsBridgeMode = nativeToJsModes.ONLINE_EVENT,

0 comments on commit 69ae6c9

Please sign in to comment.