about IOS & Android Updates

Previous topic - Next topic

spacefractal

#45
GLB_ON_QUIT is sent with beta 2 as its does now, but you might want to use the lib from beta 1, because you use admob, which practically done the same.

GLB_ON_QUIT is property newer called other than that. But its would do that when the framebuffer issue is fixed (when the user close the app). Or its will been mean less to call that anyway.

Im did also fixed the quit crash as well.

What im missing and need to been fixed, which might take a month or two (its not a near week fix, sorry), that is the annoying framebuffer issue, but its can been workaround. Im do should checking with glbasic 12 as well (im using glbasic 14).

Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation - The beagle Jam - Cave Heroes 2023 - https://spacefractal.itch.io/

msx

#46
I can not make it work. I have programmed a test code and this is the result:

Code (glbasic) Select
LOCAL cont
AUTOPAUSE TRUE
ALLOWESCAPE FALSE

WHILE 1
INC cont
PRINT "test "+cont,0,30
SHOWSCREEN
WEND

SUB GLB_ON_PAUSE:

ENDSUB

SUB GLB_ON_RESUME:

ENDSUB


Attachment screenshot.

spacefractal

So you use ios10.x beta 1 or beta 2?

The beta can been downloaded from the sticky thread.

I'm fixed that issue in either beta 1 or 2.
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation - The beagle Jam - Cave Heroes 2023 - https://spacefractal.itch.io/

spacefractal

#48
also, if you use beta 1, you need to add END in the PAUSE sub, so the app quit gracefull, until this got fixed.

SUB GLB_ON_PAUSE:
   end
ENDSUB

PS. Please not this thread is NOT a support thread, so im might split  this thread. This thread was about im will leave iOS and Android, but want to fix the remaining bugs before im does. Im also might just pause...


Edit: I'm got a permission, so I'm will in this or coming week prepare the framebuffer issue to apple technical support.
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation - The beagle Jam - Cave Heroes 2023 - https://spacefractal.itch.io/

spacefractal

#49
Good News:
The FrameBuffer issue have just been fixed, without Apples help. Its seens its was not a framebuffer issue at all, but instead its did newer resume correctly and was still paused. Hence the code was newer resumed and then you got a black screen. Its was a bug in HIBERNATE and AUTOPAUSE commands.

Also im required to force AUTOPAUSE to allways to been TRUE, even you try to change that to FALSE. The app might bug out with AUTOPAUSE FALSE. So the command will do nothing at all on iOS anymore, but im will not depreciation the command of course (its useful on other platforms).

Also you might need require to use SUB GLB_ON_LOOP: as well, which works and resume fine. Im do not have idea without that function still works. But its a area im will NOT fix.

Gernot, im will send the fixes to you, which is all is in SHOWSCREEN, HIBERNATE and in AUTOPAUSE commands.

Beta 3 will been soon out. Im do still need to prepare the xcode project to you other (im integrated glbasic source code directly into project, which was much easier to find bugs and fix that), not by using a lib. But im will only compile it to the a lib file for public.

Code (glbasic) Select
[code=glbasic]
LOCAL cont
ALLOWESCAPE FALSE

SUB GLB_ON_LOOP:
INC cont
PRINT "test "+cont,0,30
SHOWSCREEN
ENDSUB

SUB GLB_ON_PAUSE:

ENDSUB

SUB GLB_ON_RESUME:

ENDSUB

Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation - The beagle Jam - Cave Heroes 2023 - https://spacefractal.itch.io/

msx

Those are great news!!!! :nw: :nw:.

Is it all about replacing the WHILE loop with SUB GLB_ON_LOOP?

spacefractal

#51
im do still need to release beta 3 with the fixes in the named commands. ALso im have no idea its will works without SUB GLB_ON_LOOP, but im will not garantee it, so if its bugs out, then im will not fix it.

SUB GLB_ON_LOOP is the way for futures updates from beta 3 and should doing that generally for glbasic for all apps. Not just for Java, but for all platforms. Its might been required for iOS in the future updates to function correctly.
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation - The beagle Jam - Cave Heroes 2023 - https://spacefractal.itch.io/

spacefractal

im got at reply with Gernot and me mergning source codes. So proerpty the Socks commands will been fixed soon on iOS as well im will update Android soon. Here im will also redone and checking Admob as well using the newest version.

Im do still need to check how HIBERNATE does on Android as well.

So im will release a Beta 4 later this week as well a new Android update. Im will update to Android 6.1 sdk and not to Android 7.0 this time. Correctly glbasic is based on Android 5.0. Im also dont thinks its much changes at all, except some permission checks.

Users on newer platforms can block permissions, which is now no longer "ALL or NOTHING" design, which im newer liked on Android.
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation - The beagle Jam - Cave Heroes 2023 - https://spacefractal.itch.io/

bigsofty

I'm not doing anything on mobile just now but this not devalue the work you've done here SF, good job!  :good:
Cheers,

Ian.

"It is practically impossible to teach good programming style to students that have had prior exposure to BASIC.  As potential programmers, they are mentally mutilated beyond hope of regeneration."
(E. W. Dijkstra)

erico

sure shot, excellent work! :good:

msx


spacefractal

im have been quite off, due signess and other thing, so im have not coded something recently. Im hopefully this week take a look into the HIBERNATE multitasking and implementing SOCK issue im got from Gernot. Howover the most important, the multi taskning did fixed, so its usable for most app out here.

Also im should update Android to use Android 6.0 SDK as well doing a better integration of the ads. Im guess the crashes etc could also have been havent in HIBERNATE. But Android here does not have a well debugger. so its hard to do something.

But im recommerend all to use the GLB_ON_LOOP as main loop, newer using inside loop using Goto or a while/wend or such loops. This can breaks thing. Im will not fix that kind of issues, if its crash without used the function.
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation - The beagle Jam - Cave Heroes 2023 - https://spacefractal.itch.io/

msx

Take the time you want. Do not worry. We thank you for your effort.


Enviado desde mi iPhone utilizando Tapatalk

erico

Sure shot, also, get well soon. :good: