rho-tau-extensions 6.0.0 → 6.0.11

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1fd422554a25602f3b3368ab8f14f132426b9649
4
- data.tar.gz: 95a73306ec4510971423558af6a293f6f48abfda
3
+ metadata.gz: cdfb0dc0901aad396070433528989bf8c12e1711
4
+ data.tar.gz: 95a3b4a232c6ed43c55c3c8d197972c6b43e9130
5
5
  SHA512:
6
- metadata.gz: d461e7dd39652d601285d1c81ef973cae5b1ab7379dbc3e6baaca0411c4bf98d52a9daabf5769effa6bb1f26a14f324e7549ffd3a073539655f8f23d46b9f580
7
- data.tar.gz: 5d06b83d4771cb1c9d9a5b6612a77a2152569ee19c2f142b308d559f4c44e04d5e4886c867bc9163e8017445753497adf697101759b5625d2b3157a7b368a92d
6
+ metadata.gz: de7fc8e61fef3b74799b6a8332a146623438f56a819f1006ab1d2ca3a1b77f98b9e37c0ee285ce1dfe40a5ca597e64f9d9d03e8f97523e3b1329fc9a3cc17771
7
+ data.tar.gz: a0722a21552eeecebcdc81d73f99747d7996a1dca7a0109d0873a1295bc0d06d2ea804a43fde1c471ad2ba102936d8fa03d98552f52a72d667206ab43c0f0a79
@@ -14,7 +14,9 @@ import org.xwalk.core.XWalkResourceClient;
14
14
  import org.xwalk.core.XWalkNavigationHistory;
15
15
  import org.xwalk.core.XWalkJavascriptResult;
16
16
  import org.xwalk.core.XWalkNavigationItem;
17
+ import org.xwalk.core.XWalkSettings;
17
18
 
19
+ import com.rhomobile.rhodes.webview.WebViewConfig;
18
20
 
19
21
  import android.app.Activity;
20
22
  import android.view.View;
@@ -43,7 +45,7 @@ public class TauXWalkWebView implements IRhoWebView {
43
45
  private XWalkView mWebView;
44
46
  private XWalkUIClient mUIClient;
45
47
  private XWalkResourceClient mResourceClient;
46
- private IRhoConfig mConfig;
48
+ private IRhoConfig mConfig = null;
47
49
  private ViewGroup mContainerView;
48
50
  private TextZoom mTextZoom;
49
51
 
@@ -73,6 +75,21 @@ public class TauXWalkWebView implements IRhoWebView {
73
75
 
74
76
  private void applyWebSettings() {
75
77
  Logger.I(TAG, "applyWebSettings");
78
+
79
+ mWebView.getSettings().setJavaScriptEnabled(true);
80
+ mWebView.getSettings().setDomStorageEnabled(true);
81
+
82
+ boolean enableCache = ((mConfig != null) && mConfig.getBool(WebViewConfig.ENABLE_CACHE));
83
+
84
+ if (enableCache) {
85
+ mWebView.getSettings().setCacheMode(XWalkSettings.LOAD_DEFAULT);
86
+ } else {
87
+ mWebView.getSettings().setCacheMode(XWalkSettings.LOAD_NO_CACHE);
88
+ }
89
+
90
+ Logger.T(TAG, "Crosswalk api version is: " + mWebView.getAPIVersion());
91
+ Logger.T(TAG, "Crosswalk version is: " + mWebView.getXWalkVersion());
92
+ Logger.T(TAG, "Enable Cache: " + enableCache);
76
93
  /*
77
94
  double z = getConfig().getDouble(WebViewConfig.PAGE_ZOOM);
78
95
  mWebView.setInitialScale((int)(z * 100));
data/version CHANGED
@@ -1 +1 @@
1
- 6.0.0
1
+ 6.0.11
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rho-tau-extensions
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.0.0
4
+ version: 6.0.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tau Technologies Dev Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-09-18 00:00:00.000000000 Z
11
+ date: 2017-10-28 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Rhodes extensions developed by Tau Technologies
14
14
  email: info@tau-technologies.com
@@ -32,8 +32,10 @@ files:
32
32
  - libs/crosswalk/ext/platform/android/Rakefile
33
33
  - libs/crosswalk/ext/platform/android/adds/lib/armeabi/libxwalkcore.so
34
34
  - libs/crosswalk/ext/platform/android/adds/lib/armeabi/libxwalkdummy.so
35
+ - libs/crosswalk/ext/platform/android/adds/lib/armeabi/native_lib_placeholder.stamp
35
36
  - libs/crosswalk/ext/platform/android/adds/lib/x86/libxwalkcore.so
36
37
  - libs/crosswalk/ext/platform/android/adds/lib/x86/libxwalkdummy.so
38
+ - libs/crosswalk/ext/platform/android/adds/lib/x86/native_lib_placeholder.stamp
37
39
  - libs/crosswalk/ext/platform/android/adds/lib/xwalk_core_library_java.jar
38
40
  - libs/crosswalk/ext/platform/android/adds/res/drawable-hdpi/bubble.9.png
39
41
  - libs/crosswalk/ext/platform/android/adds/res/drawable-hdpi/bubble_arrow_up.png