Re: iPhoneSafeAreaInsets() and Android

2022-08-11 Thread Klaus major-k via use-livecode
Hi Jaques, > Am 11.08.2022 um 20:13 schrieb J. Landman Gay via use-livecode > : > > On 8/11/22 7:44 AM, Klaus major-k via use-livecode wrote: >> FYI, iPhoneSafeAreaInsets() returns EMPTY on Android. > > It looks like it's for iOS only, Android isn't listed in the dictionary > reference.

Re: iPhoneSafeAreaInsets() and Android

2022-08-11 Thread J. Landman Gay via use-livecode
On 8/11/22 7:44 AM, Klaus major-k via use-livecode wrote: FYI, iPhoneSafeAreaInsets() returns EMPTY on Android. It looks like it's for iOS only, Android isn't listed in the dictionary reference. You'll probably need to use the working screenrect on Android. -- Jacqueline Landman Gay

Re: iPhoneSafeAreaInsets() and Android

2022-08-11 Thread J. Landman Gay via use-livecode
Actually some Android phones have notches to imitate iPhones when Apple first introduced that. It wasn't very popular and most Android phones now use punch holes, but those also take up a bit of space, though not much. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software |

Re: iPhoneSafeAreaInsets() and Android

2022-08-11 Thread Klaus major-k via use-livecode
Hi Bob, > Am 11.08.2022 um 17:27 schrieb Bob Sneidar via use-livecode > : > > It seems to me, someone who has done zero mobile development, that this > function has no meaning on an android, and should therefore return empty to > avoid unanticipated runtime errors. There should be however a

Re: iPhoneSafeAreaInsets() and Android

2022-08-11 Thread Bob Sneidar via use-livecode
It seems to me, someone who has done zero mobile development, that this function has no meaning on an android, and should therefore return empty to avoid unanticipated runtime errors. There should be however a function to get the screen rects of an android. Does the effective working

Re: iPhoneSafeAreaInsets() and Android

2022-08-11 Thread Klaus major-k via use-livecode
Hi all, > Am 11.08.2022 um 14:44 schrieb Klaus major-k via use-livecode > : > Hi all, >> Am 15.07.2022 um 13:14 schrieb Klaus major-k via use-livecode >> : >> Hi friends, >> quick question, cannot test it myself in the moment. >> Will -> iPhoneSafeAreaInsets() >> a. work or >> b. throw an

Re: iPhoneSafeAreaInsets() and Android

2022-08-11 Thread Klaus major-k via use-livecode
Hi all, > Am 15.07.2022 um 13:14 schrieb Klaus major-k via use-livecode > : > > Hi friends, > > quick question, cannot test it myself in the moment. > > Will -> iPhoneSafeAreaInsets() > a. work or > b. throw an error when being used on Android? > > If a. I presume it will return "the