Blank initial screen with iOS TestFlight

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Blank initial screen with iOS TestFlight

Postby billhemsley » Mon Jul 17, 2017 1:32 pm

Hi,

I have an iOS app that works fine on the emulator and local testing, and has been approved by Apple for release.

However, on TestFlight the first screen does not appear and we get a blank black screen instead. (Also this phase seems to run a lot more slowly than in other environments, but this might be a separate problem.)

A pseudocode shortening of a few hundred lines of code across two cards is:

Code: Select all
# preOpenStack

set a few variables, rendering properties and the like
go to Card 1

# Card 1

if local sqLite database not present then
    use revExecuteSQL to create table
end if
if data not in local sqLite database then
    mobileBusyIndicatorStart
    use "put URL theURL into newData" to get data from remote server
    mobileBusyIndicatorStop
    use revExecuteSQL to put data in local sqLite database
end if
use revDataFromQuery to get data from local sqLite database
go to Card 2

# Card 2

display the data


After the blank screen (replacing Card 1), Card 2 appears and things work as expected.

Does anyone have any experience of something like this and, more importantly, have any idea of what might be going on?

Thanks!

Bill
billhemsley
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
 
Posts: 21
Joined: Wed Sep 21, 2011 12:24 pm

Re: Blank initial screen with iOS TestFlight

Postby billhemsley » Wed Jul 19, 2017 8:02 pm

Further to my post, the suspicion has now fallen on a wait command on Card 2, which may be causing blocking and should probably either not be there have "with messages". The app has been rebuilt without it and I will report back.
billhemsley
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
 
Posts: 21
Joined: Wed Sep 21, 2011 12:24 pm


Return to iOS Deployment

Who is online

Users browsing this forum: No registered users and 2 guests