Inclusions or Provisioning question

prothero at earthlearningsolutions.org prothero at earthlearningsolutions.org
Fri Jun 23 19:31:21 EDT 2023


Mike and Ralph:
Thanks so much for the hints. I also was so focussed on the inclusions that I failed to consider that perhaps my code that tests for whether I have an internet connection was falsely returning a “no internet” message. Yes, that was the problem. I had a test file that I would download and if it had the correct key, I would conclude that there was internet. Otherwise, the readings that I entered (water meter readings) were posted to a temp file that was later uploaded when internet was available. I would normally start the app where I had good internet, it would initialize and upload new data and download some old so I could compare water useage over time. It’s summer and water is expensive in California.

So, when I had changed my server to a different configuration, updated php, etc, etc, my test failed always, on startup.

So, fixed! The app is working.

Thanks so much for your help, everybody who gave their input.

Bill Prothero

> On Jun 23, 2023, at 10:38 AM, Mike Kerner via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> inclusions, yes. provisioning, no
> i'm not sure if the internet lib will matter or not
> tsnet
> i also have:
> ssl & encryption, but i'm also using ssl, so there's that
> you shouldn't need the mysql if you aren't using a local db on the mobe
> you could also try throwing the mobile debugger on, then forcing a
> breakpoint right before you're sending a query to the server, to see
> what breaks.
> when something breaks in lc on mobile, the script just terminates
> without warning.
> 
> 
> On Fri, Jun 23, 2023 at 1:28 PM Ralph DiMola via use-livecode
> <use-livecode at lists.runrev.com> wrote:
>> 
>> I use MySQL in iOS app. I also included "SSL & Encryption" and "tsNet"
>> 
>> Ralph DiMola
>> IT Director
>> Evergreen Information Services
>> rdimola at evergreeninfo.net
>> Phone: 518-636-3998 Ex:11
>> Cell: 518-796-9332
>> 
>> -----Original Message-----
>> From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of prothero--- via use-livecode
>> Sent: Friday, June 23, 2023 1:00 PM
>> To: JJS via use-livecode
>> Cc: prothero at earthlearningsolutions.org
>> Subject: Re: Inclusions or Provisioning question
>> 
>> Also: I’ve tried “Internet, mySQL" inclusions. No luck.
>> Bill
>> 
>>> On Jun 23, 2023, at 9:48 AM, prothero--- via use-livecode <use-livecode at lists.runrev.com> wrote:
>>> 
>>> Folks:
>>> I have my app loading to my iPhone, but the last step is to be able to access my mySql database that is resident on my web server. This all works on my development computer. However, when I load the app to my iPhone, it won’t connect to the internet.
>>> 
>>> So: my question is:
>>> Do I set this privilege on the “Inclusions” settings on the Livecode “Standalone Application Settings”, or do I need to also go to Xcode or the Development site and somehow add that capability to the provisioning profile? Also, could I just add that capability to my existing profile (in XCode?), or will I need to create a new provisioning profie?
>>> 
>>> If you can point me in the right direction to solve this, I would be VERY appreciative. It’s my last hurdle.
>>> 
>>> Thanks,
>>> Bill Prothero
>>> 
>>> William A. Prothero, Ph.D.   (Emeritus)
>>> UCSB Dept. of Earth Sciences
>>> Santa Barbara, CA. 93105
>>> http://earthlearningsolutions.org/
>>> 
>>> _______________________________________________
>>> use-livecode mailing list
>>> use-livecode at lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
>> 
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
>> 
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> 
> --
> On the first day, God created the heavens and the Earth
> On the second day, God created the oceans.
> On the third day, God put the animals on hold for a few hours,
>   and did a little diving.
> And God said, "This is good."
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode




More information about the use-livecode mailing list