Hello Amin,
If I understand well, you use the "Suppresses3DTouchGesture" option in config.xml? It's causing issues? Why you use it? Since I can't see it here in the config.xml that AB creates... ??
Hello Amin,
If I understand well, you use the "Suppresses3DTouchGesture" option in config.xml? It's causing issues? Why you use it? Since I can't see it here in the config.xml that AB creates... ??
Hello Amin,
Good! Glad to know that you got it.
Hello Harald,
Here is another sample, this time scrolling the app's view itself, not an specific HTML Content control. Instead of refer to "window", we refer to ".appView", which is a class that all the views have. Take a look at the same parts than in the above sample.
Here is how this sample look:
Hello Chen,
So certainly the console error message is quite rare, in my experience: Cordova produces error messages too much descriptives, commonly more than one message, because a "trace of the error" is included. Maybe this can be a good answer to read... the issue is quite recent, and, exactly what you get and with the Cordova Android version that you use too.
Apparently it's a random bug (don't occur here in my computer with the same Cordova Android version) in Cordova Android 8.0.0, and, the proposed solution is to downgrade Cordova Android. What you can do is to edit the BAT file that you are using and replace the below:
Of course it's not the best solution, so, in your place I will continue investigating about that "random" problem in Apache Cordova... maybe there is another better solution, since the above mean that you must edit the BAT file if change. Anyway, try to edit the BAT file at least one time... so you can see if the app can be compiled with that Cordova Android version...
Hello Chen,
If you copy here the console log message we will try to help you too! You can remove some possible private information if you wanted: or just look if some error message is provided... in addition to the "Source and destination must not be the same"...
However, if certainly the console ends with that message... that is the message that we must try to search plus the "Apache Cordova" words, so search something like "Source and destination must not be the same Apache Cordova".
Commonly we find the solution in that way... as I refer above, the Apache Cordova community is great and exceeds this forum, of course. So that's what I can say right now...
Hello Harald,
Probably what happen is that we must adapt the code to our app. For example, copy the below text and save it as a file named "TopLink.ab". Open that file with App Builder and run the app. As you can see, there is no problem to use the code that you wanted (or better said, to get the results that you wanted) using an HTML control, for example. I am not sure, however, if you wanted something like this or other thing.
The CSS code has been placed in the app's Inline CSS option. The Javascript (adapted) has been placed in the app's view Show event. Below is what you must see when run the app:
Hello Chen,
The whitelist plugin can be good for compatibility reasons: finally that is not a problem to get our app's APK. However, the next console message is "Source and destination cannot be the same.", which, don't provide too much information about the possible error...
If possible, paste here the entire console log and post also your Cordova version. You can also search in Google (for example) for the error message (if is not the referred above) plus the "Apache Cordova" words: this commonly offers information about how to solve many errors, since the Apache Cordova community exceeds this support forum.
Hello Amin,
Maybe I don't understand completely what you wanted, sorry for that, but, reading about the window storage event here, "The storage event is only triggered when a window other than itself makes the changes.". Maybe this can cause the problem? That is, maybe the storage event is not fired as you expected?
Hello Amin,
It's difficult to say, but, I think that if you get it working in Android... and in the browser, they must works more or less in the same way in iOS. Maybe you are using icons for the tabs? I know that sometimes "only icons" can cause some issue to get a good "click"... that is, is better to use and icon plus some text in a button, for example, instead only the icon.
But certainly I don't know how to help you, Amin... Maybe you can start trying with an empty app, a sample app, to be tried in iOS, trying to reproduce the problem, or looking how to get the best result. I can try to test here such sample app too. I have one specified app working in iOS without problems' reports... so maybe the icons, the tabs... (maybe changes the tabs for other control like buttons, if possible?)...
What I don't think is that latest AB releases or Cordova releases break something like that,... which of course is rare too, if previously is working more or less as expected... maybe you can try also with this Cordova WKWebView Engine plugin? I must recognize that never try it... but never find problems in iOS using the default Cordova webview...
Yeah... too much bla, bla, bla... not to say too much, but honestly I don't know how to help... of course I try your online sample... and works perfectly fine in Firefox... so they must work more or less in a similar way in iOS and other platforms too!
Hello to all,
Yes; my intention is to look into this when I have some time! :-)
Hello Harald,
Don't take this as "the solution", because, I am taking a look, but, want more... But I want to save you one click... and maybe two. Right now. Please, download DecSoft App Builder (do not update it, since the release number has been not changed).
1º Select an HTML control. 2º Directly click in the HTML property of the Object inspector, at the right, like if you see the "small button". This try to avoid your second step, since directy shown the HTML editor. 3º Do your HTML changes... and press CTRL+ENTER, so, avoid the click over the Accept button if you wanted.
That's all!... At least for now... I hope that can help you to do your work bit better.
Hello Harald,
Ok. Thanks for the suggestion. I will study this and try to do some changes when possible.
Hello Harald,
Try with the below HTML in a Checkbox's Caption:
Then place the below code in the Checkbox's Click event:
Hello Harald,
Are you using an HTML content in which you place the checkbox HTML markup?
Hello Chen,
Please, download AB and install it again: there is a new "RowContextMenu" event in the Report controls. Note that, since the release number of AB don't change this time, you must download the last AB release and not just upgrade your AB copy.
Everybody can read the DecSoft support forum for learning purposes, however only DecSoft customers can post new threads. Purchase one or more licenses of some DecSoft products in order to give this and other benefits.