packages feed

reflex-dom 0.5.2.0 → 0.5.3

raw patch · 3 files changed

+19/−4 lines, 3 filesdep ~reflexnew-uploader

Dependency ranges changed: reflex

Files

ChangeLog.md view
@@ -1,6 +1,15 @@ # Revision history for reflex-dom -## 0.5.1+## 0.5.3++* On Android, enable prompting the user for geolocation+  permissions on demand by default. See+  https://developer.android.com/reference/android/webkit/WebChromeClient.html#onGeolocationPermissionsShowPrompt(java.lang.String,%20android.webkit.GeolocationPermissions.Callback)+  for details.++ * Add `< 0.7` upper bound for reflex++## 0.5.2  * The default jsaddle backend on macOS when built from nix   is now jsaddle-wkwebview, matching the behaviour of cabal
java/org/reflexfrp/reflexdom/MainWidget.java view
@@ -8,6 +8,7 @@ import android.view.ViewGroup.LayoutParams; import android.view.Window; import android.webkit.CookieManager;+import android.webkit.GeolocationPermissions; import android.webkit.JavascriptInterface; import android.webkit.MimeTypeMap; import android.webkit.PermissionRequest;@@ -121,6 +122,11 @@         @Override         public Bitmap getDefaultVideoPoster() {             return Bitmap.createBitmap(10, 10, Bitmap.Config.ARGB_8888);+        }++        @Override+        public void onGeolocationPermissionsShowPrompt(String origin, GeolocationPermissions.Callback callback) {+            callback.invoke(origin, true, false);         }     }); 
reflex-dom.cabal view
@@ -1,5 +1,5 @@ Name: reflex-dom-Version: 0.5.2.0+Version: 0.5.3 Synopsis: Functional Reactive Web Apps with Reflex Description:   Reflex-DOM is a Functional Reactive web framework based on the Reflex FRP engine.@@ -59,8 +59,8 @@   build-depends:     base >= 4.7 && < 4.13,     bytestring == 0.10.*,-    reflex >= 0.6.2,-    reflex-dom-core >=0.5.2 && <0.6,+    reflex >= 0.6.2 && < 0.7,+    reflex-dom-core >=0.5.2 && < 0.6,     text == 1.2.*   if !impl(ghcjs)     if flag(use-warp) && (os(linux) || os(osx))