()
| 72 | |
| 73 | // Helper to be compile-time compatible with both Cordova 3.x and 4.x. |
| 74 | private View getView() { |
| 75 | try { |
| 76 | return (View)webView.getClass().getMethod("getView").invoke(webView); |
| 77 | } catch (Exception e) { |
| 78 | return (View)webView; |
| 79 | } |
| 80 | } |
| 81 | |
| 82 | private int getSplashId() { |
| 83 | int drawableId = 0; |