-
Notifications
You must be signed in to change notification settings - Fork 58
no touch when using local file:// and pull-to-refresh #60
Comments
In the meanwhile, you can try whitout $pull action, and the touch should work, but, you would't have $pull. Im working on a solution |
Hello, i have similar issue. Have you found solution? |
Ok we will have this issue revised so we can find out why this is happening and if can be solved |
Thanks a lot) And one more problem but offtop) |
Please check latest version in develop new permissions were added to the manifest :) |
I`ve added to JasonAgentService.java:363 rows: agent.setWebChromeClient(new WebChromeClient() {
@Override public void onPermissionRequest(final PermissionRequest request) {
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
request.grant(request.getResources());
}
} And got error when trying acces to camera:
|
I tested with this json on iOS and it seems it needs at least an empty I havent tested on Android yet but maybe this would work. {
"$jason": {
"head": {
"title": "Reload webpage on pull",
"actions": {
"$pull": {
"type": "$agent.request",
"options": {
"id": "$webcontainer",
"method": "(() => window.location.reload())",
"params": []
}
}
}
},
"body": {
"sections": [{"items": [{}]}],
"background": {
"type": "html",
"url": "file://web.html",
"action": {
"type": "$default"
}
}
}
}
}
|
Not working on Android (( |
HAve somebody solved issue ? |
Describe the bug
when unsing
"$pull": { "type": "$reload" }
in an action and the background is an html with url offile://...
the app loses touchExample Jasonette Document URL
for index.html, you can curl -o index.html this
To Reproduce
Steps to reproduce the behavior:
then change the url from index.html to the url. it will allow touch and run just fine
Smartphone (please complete the following information):
Compilation:
The text was updated successfully, but these errors were encountered: