Hello!
I was using Get Object extension on same of my apps. The Get Object extension works perfect on android under 9 but with 9 or 10, the apps stacks or close the app. Any solution or any alternative for this extension? I really need to update all my apps :S. Thanks

Get objecto doesnt work on android 9 and 10
Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.
A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.
Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!
Clickteam.
A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.
Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!
Clickteam.
-
-
From Android 9 it is recommend to use https
if you want to use a http link you must alter the content in runtimeAndroid.zip for ---> \app\src\main\res\xml\
open network_security_config.xml
and change the http link you use in this application
Please login to see this attachment.
-
Hello! Thanks for the reply! I need the extension for add data to a server and retrieve info for it and not onlye for open an URL.
-
Anyway, when I try to open any Network_security_congig.xml (with notepad or another xml editor" it is said that there is a no valid hexadecimal value on line 3, so I cant edit the file. It happens with alls apks I compiile with API 29.
Please login to see this link.
-
mm not sure why you have that this a text file are you using 7zip?
and you only register the domain or domains in this file
-
Yes, I use 7zip to extract the apk but I cant open that XML because of the error
-
Yes, I use 7zip to extract the apk but I cant open that XML because of the error
Anyway, I change the wrong XML for:
<?xml version="1.0" encoding="utf-8"?>
<network-security-config>
<domain-config cleartextTrafficPermitted="true">
<domain includeSubdomains="true">HERE HTTP DOMAIN</domain>
</domain-config>
</network-security-config>and still doesnt work. The android doestn recive the data from the domain
-
This is an example from klikgamer server that works perfect on Android less than 9 and not on android 9 and 10. If someone could make it work, it would be great! :Please login to see this link.
-
well, before anything it is very nice to explain what you did at your side, and the link, which is the key for everything, see that your link is not a www so the domain should be only klikgamer.com
and it is very good when you post an example show that you tested, api 22 is not accepted anymore for building should be now 28 or 29, THEN you must set the target for API 10
hope this work at your side as it worked here
-
Hello again Fernando! The link is an example, the server inside the examen is Please login to see this link. and that is what I used. Anyway, I tried another links for testing and doesnt work. And I always compile with 28 or 29 (the example is old but I change it before compile). Changing the network_Security_config didnt work neither :S. I dont know what to do
P.D.: I decompile and compile with apktools without any error. -
only put klikgamer.com
that is working here OK
-
I swear I tried that a thousand times and it didn't work. Now it works perfectly. Sorry for being so annoying. Anyway, I leave here the steps that I have been following in case someone has the same problem. I hope it is useful. Thank you so much Fernando. I take this opportunity to say that klikgamer (created for Popcorn) is a good option to create online Leaderboards. Thanks again.
The last question, is it necessary to do this whenever you upload an app that connects to the external server? Will Clickteam do it automatically in the future?
Please login to see this attachment. -
if is another link you should mention this link here to understand
-
[MENTION=6268]Fernando[/MENTION] you had pointed me to this link for the webview object which obviously has the same challenges as the get object when it comes to Android 9 or 10.
I went to Fusion Dir/data/runtime/android
Found the runtimeAndroid.zip
opened it up and drilled down in to /app/src/main/res/xml/network_security_config.xml
I pulled the network_security_config.xml file out and added this line to it. (then put it back in the zip file of course)
<domain includeSubdomains="true">Please login to see this link.</domain>
I then loaded the app in to a VM using Bliss OS, Android 10 (thank you [MENTION=5109]Simon[/MENTION])
I still get the error... net::CLEARTEXT_NOT_PERMITTED
I tried it again only I took the dev. out of the url in the network_security_config.xml
<domain includeSubdomains="true">Please login to see this link.</domain>
I still got the error... net::CLEARTEXT_NOT_PERMITTEDThe obvious first question is what am I doing wrong. I was hoping to avoid using this but I could not get my self-signed cert to work on my phone or in the VM so I have to use this workaround for testing but I can't get it to work.
The second question I have...
Is there an issue adding multiple lines such as...
<domain includeSubdomains="true">Please login to see this link.</domain>
<domain includeSubdomains="true">Please login to see this link.</domain>
<domain includeSubdomains="true">Please login to see this link.</domain>
The third question I have is...
Does this line...
<domain includeSubdomains="true">Please login to see this link.</domain>
work if I am going to use links to Please login to see this link. as well as Please login to see this link. and Please login to see this link.
or do I have to add a line for each even though they are all going to domain1.com.While I don't like this solution it will help me get through dev and testing until I am ready to buy my SSL for the server. Then I can use it the correct way.
Thanks for your time!
-
oh you miss the information you don't add the HTTP or WWW only domain
so as for your examples, they should look like:
domain1.com
domain2.com
dev.genapp.proAND
please don't add HTTPS domain (you should get the error you mention above)
-
I will give that a try, thank you! It's going to be a bit, I am having some issues with it even showing up and I have to hunt down what code/object is causing the issue. I will get back to you on that though.
-
[MENTION=6268]Fernando[/MENTION] I wanted you to know I had a chance to test what you told me and by using just domainName.ext worked to allow http in 10. At least Android 10 emulated on Bliss OS.
Thanks for the help!
-
Kind of related, I did some testing with https and it seems to take about twice as long as a http request, both on windows and android with the get object, and both using an apache server and an nginx server. Is https really this slow for everyone or could a modification to the Get object potentially make it faster?
-
mm not sure but https have two extra steps than http
and because of that involve more time:
1.- domain verification
2.- and Certificate validation traduced in navigation as cryptographic protocol (pages are encrypted)GET android use cache, but what you will see always in the log when you use an https is that the certificate is reviewed every time you use the link
-
Yeah makes sense, and the first request takes much longer than subsequent requests, so the cache does work to reduce the time after the first request, but it's always a lot slower than http.
-
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!