can you please provide a minimal example that shows this discrepancy?
Does your app script require you to be logged in to execute?
can you please provide a minimal example that shows this discrepancy?
Does your app script require you to be logged in to execute?
hi
can you please provide a minimal example that shows this discrepancy?Blockquote
i have already done it on my side a single screen and the call of the script the result stored in a label it works on android and on IOS and in preview mode
no to call this script I don’t need to be logged
Using the web preview? Or it doesn’t work when you use the companion app? Again, can you please provide a minimal example that shows this discrepancy? If I can reproduce the issue on my end I can file a useful bug report if there’s a bug to report!
Hi
I will provide you an example.
but I must admit that the recurring problem is related to firebase rules I thought it was enough to authenticate but that’s not the case when I think it works with android it’s because I use my account as muneer would say and when does it actually work with android, it doesn’t work with ios with the same rules enough to be discouraged
how i send you ?
If you create project, you can share it here or send it in a DM. If it’s a minimal example, it should be fine to share here in the form as a ‘copy’
here is the link
https://x.thunkable.com/copy/3640773dee4296dbdf50ef7f2aca46f6
the same api call above doesn’t work in android
https://x.thunkable.com/copy/fbdcc98b20f180a3a9ac880d510d7753
@bibbi It would be helpful if you could provide a yes or no answer for each of these:
When I try it, these are my results:
In each case, I see this:
hi
the first link :
the second link :
“employees” is a list… why are you getting the object properties of that list? I see lots of problems with the way you are parsing the JSON response:
You don’t need the extra get object properties of
block at the top of the loop. And since you’re getting list items and storing them in j
, you can just use j… you don’t need to get the properties of “employees” over and over again. That’s already included in j
.
Try this instead:
Here’s a modified project that generates a list of the “email” property values from the API:
https://x.thunkable.com/copy/c53c0dbe2f7706fe186b4660aa7d3640
And the result when Live Tested on Android looks like this preview:
thank you for this decisive support however if on my android your proposal indeed works my application extract which your observations do not work
I’m sorry, I don’t understand what you wrote. What is not working?
You can use the yes/no for #1-5 as I suggested above.
You didn’t fix any of the problems I mentioned. Please try the project I posted a link to above (Unable to parse Web API response - #18 by tatiang) and let me know if that works when Live Tested on an Android device. It should.
sorry, I got the wrong link
here the right one
https://x.thunkable.com/copy/5115cb3a8b8397b3a78b0dc1323223db
1.Yes
2.Yes
3.NO
When I test it, it also does NOT work in Thunkable Live on an Android device. Even this doesn’t return any response (and the green error
block is empty when I check its value):
It works fine on an iPhone.
Maybe there is some problem with Google Scripts and Android devices? I don’t know.
I think you should file a bug report because on both iOS and Android devices, I can see the script response in a Chrome browser (I made a shortcut link: https://bit.ly/androidz123). So I think it’s something Thunkable is doing to run the script or get its response.
hi
I wouldn’t insist. I will proceed otherwise.
in any case, thank you for your help, for the time you devoted to me,
without forgetting muneer
What kind of device are you running on @bibbi and @tatiang ? I ran this on a Nexus 2 in both live preview and as a downloaded apk with this block combo and didnt get an error
I’m using a OnePlus Nord N100 5G running Android 11.