Re: SFTP Woes

2024-09-13 Thread Dan Friedman via use-livecode
I get different results in different versions of LC:

LC 9.6.10  >  Version 1.4.9 Business Edition
LC 10.0.0 (rc 2) > Version 1.4.10 Business Edition
LC 9.6.13  > Version 1.4.10 Business Edition

-Dan


From: use-livecode  on behalf of 
matthias rebbe via use-livecode 
Date: Friday, September 13, 2024 at 11:11 AM
To: How to use LiveCode 
Cc: matthias_livecode_150...@m-r-d.de 
Subject: Re: SFTP Woes
Dan,

what does

put tsnetversion()

return?

Here with 9.6.13 I get   "Version 1.4.10 Business Edition"




> Am 13.09.2024 um 18:10 schrieb Dan Friedman via use-livecode 
> :
>
> Heather,
>
> Thank you for the reply, but I am using a Business License with Pro Features. 
>  But I relicensed LC anyway to verify it’s connected to the Pro Features 
> account.   Still get the same warning.
>
> So, that’s not the issue.   Any other ideas?
>
> -Dan
>
>
>
> From: use-livecode  <mailto:use-livecode-boun...@lists.runrev.com>> on behalf of Heather Laine 
> via use-livecode  <mailto:use-livecode@lists.runrev.com>>
> Date: Friday, September 13, 2024 at 8:59 AM
> To: How to use LiveCode  <mailto:use-livecode@lists.runrev.com>>
> Cc: Heather Laine mailto:heat...@livecode.com>>
> Subject: Re: SFTP Woes
> Check which license you are using. You may need Pro features (Business) to 
> use SFTP, so if you're using an older Indy type license that could be the 
> problem. All Pro features are included in Create.
>
> To check/change the license, follow the steps in this lesson:
>
> https://lessons.livecode.com/m/4072/l/1542014-i-have-a-valid-license-but-lc-says-it-is-expiring
>
> Best Regards,
>
> Heather
>
> Heather Laine
> Customer Services Manager
> LiveCode Ltd
> www.livecode.com<http://www.livecode.com> 
> <http://www.livecode.com/><http://www.livecode.com <http://www.livecode.com/>>
>
>
>
>> On 13 Sep 2024, at 16:14, Dan Friedman via use-livecode 
>>  wrote:
>>
>> Greetings!
>>
>> I am trying to use SFTP to download some data from a server.   On both Mac 
>> and Windows, I get:
>>
>> sftp protocol not supported in this version
>>
>> I have tried LC 9.6.10, 10.0.0 (rc 2), and 9.6.13.   All versions report the 
>> same result.  Is sftp not supported in LC, or have I neglected to flip some 
>> bit?
>>
>> Thank you in advance for any guidance!
>> -Dan
>> ___
>> use-livecode mailing list
>> use-livecode@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@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@lists.runrev.com <mailto:use-livecode@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@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: SFTP Woes

2024-09-13 Thread Dan Friedman via use-livecode
Heather,

Thank you for the reply, but I am using a Business License with Pro Features.  
But I relicensed LC anyway to verify it’s connected to the Pro Features 
account.   Still get the same warning.

So, that’s not the issue.   Any other ideas?

-Dan



From: use-livecode  on behalf of Heather 
Laine via use-livecode 
Date: Friday, September 13, 2024 at 8:59 AM
To: How to use LiveCode 
Cc: Heather Laine 
Subject: Re: SFTP Woes
Check which license you are using. You may need Pro features (Business) to use 
SFTP, so if you're using an older Indy type license that could be the problem. 
All Pro features are included in Create.

To check/change the license, follow the steps in this lesson:

https://lessons.livecode.com/m/4072/l/1542014-i-have-a-valid-license-but-lc-says-it-is-expiring

Best Regards,

Heather

Heather Laine
Customer Services Manager
LiveCode Ltd
www.livecode.com<http://www.livecode.com>



> On 13 Sep 2024, at 16:14, Dan Friedman via use-livecode 
>  wrote:
>
> Greetings!
>
> I am trying to use SFTP to download some data from a server.   On both Mac 
> and Windows, I get:
>
> sftp protocol not supported in this version
>
> I have tried LC 9.6.10, 10.0.0 (rc 2), and 9.6.13.   All versions report the 
> same result.  Is sftp not supported in LC, or have I neglected to flip some 
> bit?
>
> Thank you in advance for any guidance!
> -Dan
> ___
> use-livecode mailing list
> use-livecode@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@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


SFTP Woes

2024-09-13 Thread Dan Friedman via use-livecode
Greetings!

I am trying to use SFTP to download some data from a server.   On both Mac and 
Windows, I get:

sftp protocol not supported in this version

I have tried LC 9.6.10, 10.0.0 (rc 2), and 9.6.13.   All versions report the 
same result.  Is sftp not supported in LC, or have I neglected to flip some bit?

Thank you in advance for any guidance!
-Dan
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: iOS App Crashing On Close

2024-08-07 Thread Dan Friedman via use-livecode
Mark,

Thank you for the reply and thoughts!   I am not using closeStack or 
closeStackRequest anywhere in my project.   I am using shutdown and 
shutdownRequest but those calls have not changed since moving from 10.0.0 (dp 
8) to 10.0.0 (rc1).   Also, I am not using mergeNotify (or have it included) in 
the build.

Maybe Panos will have some ideas?

-Dan



From: Mark Smith 
Date: Wednesday, August 7, 2024 at 2:00 PM
To: How to use LiveCode 
Cc: Dan Friedman 
Subject: Re: iOS App Crashing On Close
Hi Dan,

Just a random thought that might help orient you to a potential problem… how 
are you handling the closeStackRequest (or closeStack) message? “Quit” in a 
button obviously bypasses these. Odd that the problem would just start showing 
up in 10.0.0 although I do remember reading somewhere that the implementation 
of Monte’s mergeNotify which contained the message 
UIApplicationWillResignActiveNotification had been revised at some point, but 
can’t find any reference to it now.  Sorry if that doesn’t help. Just some 
random thoughts that popped into my head while reading of your problem.

Mark

> On 7 Aug 2024, at 8:33 PM, Dan Friedman via use-livecode 
>  wrote:
>
> I have an app that has been humming along just fine in the app store.  I 
> updated the app to 10.0.0 (rc1) and it’s now in TestFlight.   When I close 
> the app from the OS (swipe up from bottom of phone and then swipe app up to 
> exit it), I get this message:
>
> “MyAppName” – Crashed
> Do you want to share additional information with the developer?
>
> Details about the crash in TestFlight (date, time, build, device model, etc.) 
> seem useless.   I looked at the crash log in Xcode, but it too seems to just 
> list the threads and hex values.  For example, the highlighted red line in 
> the Crash List (in Xcode) shows:   MyAppName: 0x104a6c000 + 634716
>
> Interesting thing is if I call “quit” in a button, I don’t get the crash.
>
> Any thoughts?
>
> -Dan
> ___
> use-livecode mailing list
> use-livecode@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


iOS App Crashing On Close

2024-08-07 Thread Dan Friedman via use-livecode
I have an app that has been humming along just fine in the app store.  I 
updated the app to 10.0.0 (rc1) and it’s now in TestFlight.   When I close the 
app from the OS (swipe up from bottom of phone and then swipe app up to exit 
it), I get this message:

“MyAppName” – Crashed
Do you want to share additional information with the developer?

Details about the crash in TestFlight (date, time, build, device model, etc.) 
seem useless.   I looked at the crash log in Xcode, but it too seems to just 
list the threads and hex values.  For example, the highlighted red line in the 
Crash List (in Xcode) shows:   MyAppName: 0x104a6c000 + 634716

Interesting thing is if I call “quit” in a button, I don’t get the crash.

Any thoughts?

-Dan
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: The story so far

2024-07-26 Thread Dan Friedman via use-livecode
I missed that too.   Where can I read the new (and updated) lifetime license 
policy?

-Dan


From: use-livecode  on behalf of Richard 
Gaskin via use-livecode 
Date: Friday, July 26, 2024 at 10:54 AM
To: use-livecode@lists.runrev.com 
Cc: Richard Gaskin 
Subject: Re: The story so far
Kevin Miller wrote:
> After an initial misstep (sorry!), we tweaked the lifetime license
> policy past 2027 and that now seems to have been well received.

I missed that. Where can I read the new lifetime license policy?

--
Richard Gaskin
FourthWorld.com

___
use-livecode mailing list
use-livecode@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Create Question...

2024-07-24 Thread Dan Friedman via use-livecode
Do apps created with the new LC platform call home at anytime?If so, what 
happens if the app is launched off line or the request is blocked (by a 
firewall other security method)?

-Dan
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: [ ANN ] Release 9.6.13 RC-1

2024-07-16 Thread Dan Friedman via use-livecode
// We are pleased to announce the release of LiveCode 9.6.13 RC-1.

This is certainly great news!   Is there a parallel version for LC 10 coming?   
I have a number of projects that I have been using 10.0.0 (dp-8).   Is LC 10 
being abandoned?   If so (or even if not), it feels like 9.6.X seems to be the 
LC’s preferred version?   Can I take a project built in 10 and move it to 9 
without worry?   What’s in 10 that’s not in 9??

Thanks in advance,
Dan
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Google Play Billing Library Version

2024-07-09 Thread Dan Friedman via use-livecode
Greetings!   I have an app in the Google Play Store, and I recently got a 
message from Google Play that says my app is not using the correct Billing 
Library and I need to update my app to include Billing Library version 6 or 
newer.   I built the app with LC 10 (dp-6).   Is there a version of LC that is 
compatible with requirement?  Or, how do I tell which versions of LC include 
which component versions?

-Dan
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


LiveCode 10 and Xcode 15

2024-04-19 Thread Dan Friedman via use-livecode
Just posted an app update to the iOS app store and I got this message:

ITMS-90725: SDK version issue - This app was built with the iOS 16.2 SDK. 
Starting April 29, 2024, all iOS and iPadOS apps must be built with the iOS 17 
SDK or later, included in Xcode 15 or later, in order to be uploaded to App 
Store Connect or submitted for distribution.

I am using LC Version 10.0.0 (dp-7).  User Guide says update XCode 14.  Is 
XCode 15 compatible with LC Version 10.0.0 (dp-7)?   And will that resolve the 
issue?

Thank you in advance!

-Dan
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Cursor Placement in MobileControl

2024-03-06 Thread Dan Friedman via use-livecode
Panos,

Thank you for the suggestion!   That worked out well!   For anyone interested, 
here’s the snippet for formatting a phone number as you type in a mobile native 
field control:

//this assumes that the mobileControl type for Android is “multiline” and the 
mobileSetKeyboardType has been set to “email”

on inputTextChanged
  put mobileControlTarget() into pField
  put mobileControlGet(pField,"text") into pText

  if pField = "phoneNumber" then
put "" into fText
put numbersOnly(pText) into pText

if char 1 of pText = "1" then
  put "" into fText
  mobileControlSet "phoneNumber","text",fText
  androidGoLastChar "phoneNumber",fText
  put fText into dataEntered["phone"]
  exit inputTextChanged
end if

if the number of chars in pText < 4 then
  put pText into fText
  mobileControlSet "phoneNumber","text",fText
  androidGoLastChar "phoneNumber",fText
else
  if (the number of chars in pText > 3) then
put "(" & char 1 to 3 of pText & ")" into char 1 to 3 of fText
put " " & char 4 to 6 of pText after fText
  end if
  if the number of chars in pText > 6 then
put "-" & char 7 to 10 of pText after fText
  end if

  mobileControlSet "phoneNumber","text",fText
  androidGoLastChar "phoneNumber",fText
end if
  end if
end inputTextChanged

function numbersOnly pNum
  //returns only the numbers in pNum
  put "" into fNum
  repeat for each char c in pNum
if isNumber(c) then
  put c after fNum
end if
  end repeat

  return fNum
end numbersOnly

on androidGoLastChar mControl,xText
  if ("Android" is in the platform) then
mobileControlSet mControl,"selectedRange",(the number of chars in xText+1,0)
  end if
end androidGoLastChar


Thank you!

Dan Friedman
CEO, ClearVision Technologies, LLC
Voice: 909/484-2052
http://www.clearvisiontech.com


From: use-livecode  on behalf of 
panagiotis merakos via use-livecode 
Date: Tuesday, March 5, 2024 at 9:45 AM
To: How to use LiveCode 
Cc: panagiotis merakos 
Subject: Re: Cursor Placement in MobileControl
Hello Dan,

I take it you are formatting the text in inputTextChanged?

Unfortunately yes, on Android calling

mobileControlSet "phoneNumber","text", pText

puts the cursor in the beginning of the text:

https://quality.livecode.com/show_bug.cgi?id=24055

RE using the selectedRange with mobile native controls, I think this
property is supported only on multiline input fields. So I suppose you
could make the fields to be multiline and give it a try.

Kind regards,
Panos
--

On Tue, 5 Mar 2024 at 18:53, Dan Friedman via use-livecode <
use-livecode@lists.runrev.com> wrote:

> I am trying to create a field on mobile (iOS and Android) that will format
> a phone number as your type (client request).  I am able to do this on iOS
> as the command: mobileControlSet "phoneNumber","text",pText puts the cursor
> AFTER the text so the user can simply continue typing.  But, on Android,
> the cursor is placed at the beginning of the text after the
> mobileControlSet command is called.   Is there a way to set the position of
> the cursor on a native mobile text field?
>
> I did notice that the Android Native Field widget has a selectedRange
> property.  Can I use this property on a native Android control?  And, can I
> set the selectedRange to “16,15” to set the cursor location, not select
> text?
>
> Why not just use the Android Native Field widget, you ask?   I will if I
> have to… but I prefer to use the native control as it is cross-platform and
> I don’t need to case out for which platform we’re on.  You would need to
> create the control and hide the widget for iOS and show the widget for
> Android.  I’ll also have to case out the setting  and getting of the text
> as they have different methods.  I’ll do this if I have to, but I’d rather
> have a single code set and not have to manage/update separate methods.   I
> would use the standard LC field, but client wants the standard
> hold->popupMenu->paste command to work.
>
> Any thoughts or ideas?
>
> -Dan
> ___
> use-livecode mailing list
> use-livecode@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@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Cursor Placement in MobileControl

2024-03-05 Thread Dan Friedman via use-livecode
I am trying to create a field on mobile (iOS and Android) that will format a 
phone number as your type (client request).  I am able to do this on iOS as the 
command: mobileControlSet "phoneNumber","text",pText puts the cursor AFTER the 
text so the user can simply continue typing.  But, on Android, the cursor is 
placed at the beginning of the text after the mobileControlSet command is 
called.   Is there a way to set the position of the cursor on a native mobile 
text field?

I did notice that the Android Native Field widget has a selectedRange property. 
 Can I use this property on a native Android control?  And, can I set the 
selectedRange to “16,15” to set the cursor location, not select text?

Why not just use the Android Native Field widget, you ask?   I will if I have 
to… but I prefer to use the native control as it is cross-platform and I don’t 
need to case out for which platform we’re on.  You would need to create the 
control and hide the widget for iOS and show the widget for Android.  I’ll also 
have to case out the setting  and getting of the text as they have different 
methods.  I’ll do this if I have to, but I’d rather have a single code set and 
not have to manage/update separate methods.   I would use the standard LC 
field, but client wants the standard hold->popupMenu->paste command to work.

Any thoughts or ideas?

-Dan
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Access to Share Panel?

2024-01-29 Thread Dan Friedman via use-livecode
Greetings!

Is there a method to use the standard “Share” panel on mobile?  (Android and 
iOS)

Thanks in advance,
-Dan
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Mobile password field and keychain/password

2024-01-19 Thread Dan Friedman via use-livecode
Is there a way to connect to the OS’s keychain/password functionality for both 
iOS and Android?   I have a customer that want’s their password field to work 
like every other app they have ever used.

-Dan
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Crashing on M2 Mac

2023-11-03 Thread Dan Friedman via use-livecode
Mark,

It is literally:convert dateSecs to date  //dateSecs is a epoch value (as 
in the seconds).  And yes, I am 100% positive dateSecs is a valid date


-Dan


From: use-livecode  on behalf of Mark 
Waddingham via use-livecode 
Date: Friday, November 3, 2023 at 11:16 AM
To: How to use LiveCode 
Cc: Mark Waddingham 
Subject: Re: Crashing on M2 Mac
Dan, could you file a bug with the offending line of code which crashed ios17 
with 9.6.10… Just so we can check it isn’t still there in 9.6.11 :)

Thanks!

Mark

Sent from my iPhone

> On 3 Nov 2023, at 16:48, Dan Friedman via use-livecode 
>  wrote:
>
> To all,
>
> Oops!  I am mistaken…. It wasn’t MacOS that had the issue, it was iOS 17 that 
> was problem.   iOS app built with 9.6.10 running on iOS 17 crashes when the 
> convert command is called.  I can (in my experience) absolutely confirm this. 
>  Debugged it down to the single line of code.  Rebuilt the app with 10.0.0 
> (dp 6) and the issue was solved.
>
> Apologies for posting the wrong platform.
>
> -Dan
>
>
> From: use-livecode  on behalf of 
> panagiotis merakos via use-livecode 
> Date: Friday, November 3, 2023 at 9:23 AM
> To: How to use LiveCode 
> Cc: panagiotis merakos 
> Subject: Re: Crashing on M2 Mac
> Hello all,
>
> We are not aware of any bug in the "convert" command, and I think it is
> highly unlikely such a bug to affect M2 machines but not M1 ones.
>
> We have a M2 machine running Sonoma which is used in the prerelease testing
> so my feeling is that if there was such a bug, we would have caught it in
> the prerelease testing of 9.6.11 rc1, which included a fix related to the
> system date on Sonoma. Also, a related report we got about the convert
> command - but turned out to be not a bug, is this one:
>
> https://quality.livecode.com/show_bug.cgi?id=24362
>
> BTW, the crash report that is attached in the first post indicates that the
> app was running under Rosetta (> Code Type:X86-64 (Translated))
>
> @Peter
> If you have a reproducible recipe please do file a bug report and include
> your app or a sample stack - I can give it a try in my Sonoma M2 mac mini.
>
> Kind regards,
> Panos
>
>
>> On Fri, 3 Nov 2023 at 14:05, Paul Dupuis via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>>
>> Also, have you (or could you) try LC 9.6.11rc-1 and see if that has a
>> fix for the convert issue you found?
>>
>> We use convert a lot (currently under LC 9.6.10) and can't take out app
>> to LC 10, so a 9.6.11 that addresses this convert bug is needed.
>>
>>> On 11/2/2023 6:33 PM, Dan Friedman via use-livecode wrote:
>>> Peter,
>>>
>>> I recently discovered (from one of my own apps) that a Mac app built
>> with 9.6.10 running on Sonoma crashes when the convert command is called.
>> I rebuilt the app in 10.0.0 (dp 6) and the app no longer crashes.   Hope
>> that helps!
>>>
>>> - Dan
>>>
>>>
>>> From: use-livecode  on behalf of
>> Peter Bogdanoff via use-livecode 
>>> Date: Thursday, November 2, 2023 at 3:23 PM
>>> To: Paul Dupuis via use-livecode 
>>> Cc: Peter Bogdanoff 
>>> Subject: Crashing on M2 Mac
>>> A user is reporting crashing on his M2 Sonoma Mac.
>>>
>>> This was a build of LC 9.6.10, with both Intel and Apple chosen in the
>> Standalone settings.
>>>
>>> It did not crash with only Apple chosen, though there were script errors
>> that did not happen with non-M2 users (M1 is OK). I haven’t been able to
>> debug that since I don’t have an M2 Mac.
>>>
>>> Has anyone used LC with M2?
>>>
>>> Peter Bogdanoff
>>>
>>>> Process:   MITA [10810]
>>>> Path:  /Applications/MITA.app/Contents/MacOS/MITA
>>>> Identifier:com.artsinteractiveinc.mita
>>>> Version:   3.0 (3.0)
>>>> Code Type: X86-64 (Translated)
>>>> Parent Process:launchd [1]
>>>> User ID:   501
>>>>
>>>> Date/Time: 2023-11-02 13:22:17.1555 -0400
>>>> OS Version:macOS 14.1 (23B74)
>>>> Report Version:12
>>>> Anonymous UUID:982CECFD-B763-4068-2C69-6639836A03DF
>>>>
>>>> Sleep/Wake UUID:   DAD13568-D6D9-4419-BF53-FA013DE5385B
>>>>
>>>> Time Awake Since Boot: 11 seconds
>>>> Time Since Wake:   1041 seconds
>>>>
>>>> System Integrity Protection: enabled
>>>>
>>>> Notes:
>>>> P

Re: Crashing on M2 Mac

2023-11-03 Thread Dan Friedman via use-livecode
To all,

Oops!  I am mistaken…. It wasn’t MacOS that had the issue, it was iOS 17 that 
was problem.   iOS app built with 9.6.10 running on iOS 17 crashes when the 
convert command is called.  I can (in my experience) absolutely confirm this.  
Debugged it down to the single line of code.  Rebuilt the app with 10.0.0 (dp 
6) and the issue was solved.

Apologies for posting the wrong platform.

-Dan


From: use-livecode  on behalf of 
panagiotis merakos via use-livecode 
Date: Friday, November 3, 2023 at 9:23 AM
To: How to use LiveCode 
Cc: panagiotis merakos 
Subject: Re: Crashing on M2 Mac
Hello all,

We are not aware of any bug in the "convert" command, and I think it is
highly unlikely such a bug to affect M2 machines but not M1 ones.

We have a M2 machine running Sonoma which is used in the prerelease testing
so my feeling is that if there was such a bug, we would have caught it in
the prerelease testing of 9.6.11 rc1, which included a fix related to the
system date on Sonoma. Also, a related report we got about the convert
command - but turned out to be not a bug, is this one:

https://quality.livecode.com/show_bug.cgi?id=24362

BTW, the crash report that is attached in the first post indicates that the
app was running under Rosetta (> Code Type:X86-64 (Translated))

@Peter
If you have a reproducible recipe please do file a bug report and include
your app or a sample stack - I can give it a try in my Sonoma M2 mac mini.

Kind regards,
Panos


On Fri, 3 Nov 2023 at 14:05, Paul Dupuis via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Also, have you (or could you) try LC 9.6.11rc-1 and see if that has a
> fix for the convert issue you found?
>
> We use convert a lot (currently under LC 9.6.10) and can't take out app
> to LC 10, so a 9.6.11 that addresses this convert bug is needed.
>
> On 11/2/2023 6:33 PM, Dan Friedman via use-livecode wrote:
> > Peter,
> >
> > I recently discovered (from one of my own apps) that a Mac app built
> with 9.6.10 running on Sonoma crashes when the convert command is called.
> I rebuilt the app in 10.0.0 (dp 6) and the app no longer crashes.   Hope
> that helps!
> >
> > - Dan
> >
> >
> > From: use-livecode  on behalf of
> Peter Bogdanoff via use-livecode 
> > Date: Thursday, November 2, 2023 at 3:23 PM
> > To: Paul Dupuis via use-livecode 
> > Cc: Peter Bogdanoff 
> > Subject: Crashing on M2 Mac
> > A user is reporting crashing on his M2 Sonoma Mac.
> >
> > This was a build of LC 9.6.10, with both Intel and Apple chosen in the
> Standalone settings.
> >
> > It did not crash with only Apple chosen, though there were script errors
> that did not happen with non-M2 users (M1 is OK). I haven’t been able to
> debug that since I don’t have an M2 Mac.
> >
> > Has anyone used LC with M2?
> >
> > Peter Bogdanoff
> >
> >> Process:   MITA [10810]
> >> Path:  /Applications/MITA.app/Contents/MacOS/MITA
> >> Identifier:com.artsinteractiveinc.mita
> >> Version:   3.0 (3.0)
> >> Code Type: X86-64 (Translated)
> >> Parent Process:launchd [1]
> >> User ID:   501
> >>
> >> Date/Time: 2023-11-02 13:22:17.1555 -0400
> >> OS Version:macOS 14.1 (23B74)
> >> Report Version:12
> >> Anonymous UUID:982CECFD-B763-4068-2C69-6639836A03DF
> >>
> >> Sleep/Wake UUID:   DAD13568-D6D9-4419-BF53-FA013DE5385B
> >>
> >> Time Awake Since Boot: 11 seconds
> >> Time Since Wake:   1041 seconds
> >>
> >> System Integrity Protection: enabled
> >>
> >> Notes:
> >> PC register does not match crashing frame (0x0 vs 0x1026B9E58)
> >>
> >> Crashed Thread:0  Dispatch queue: com.apple.main-thread
> >>
> >> Exception Type:EXC_BAD_ACCESS (SIGSEGV)
> >> Exception Codes:   KERN_INVALID_ADDRESS at 0x0004
> >> Exception Codes:   0x0001, 0x0004
> >>
> >> VM Region Info: 0x4 is not in any region.  Bytes before following
> region: 140722906071036
> >>REGION TYPESTART - END [ VSIZE]
> PRT/MAX SHRMOD  REGION DETAIL
> >>UNUSED SPACE AT START
> >> --->
> >>mapped file  7ffc9ad4-7ffcc03e8000 [598.7M]
> r-x/r-x SM=COW  ...t_id=60eeba9b
> >>
> >> Error Formulating Crash Report:
> >> PC register does not match crashing frame (0x0 vs 0x1026B9E58)
> > ___
> > use-livecode mailing list

Re: Crashing on M2 Mac

2023-11-02 Thread Dan Friedman via use-livecode
Peter,

I recently discovered (from one of my own apps) that a Mac app built with 
9.6.10 running on Sonoma crashes when the convert command is called.  I rebuilt 
the app in 10.0.0 (dp 6) and the app no longer crashes.   Hope that helps!

- Dan


From: use-livecode  on behalf of Peter 
Bogdanoff via use-livecode 
Date: Thursday, November 2, 2023 at 3:23 PM
To: Paul Dupuis via use-livecode 
Cc: Peter Bogdanoff 
Subject: Crashing on M2 Mac
A user is reporting crashing on his M2 Sonoma Mac.

This was a build of LC 9.6.10, with both Intel and Apple chosen in the  
Standalone settings.

It did not crash with only Apple chosen, though there were script errors that 
did not happen with non-M2 users (M1 is OK). I haven’t been able to debug that 
since I don’t have an M2 Mac.

Has anyone used LC with M2?

Peter Bogdanoff

> Process:   MITA [10810]
> Path:  /Applications/MITA.app/Contents/MacOS/MITA
> Identifier:com.artsinteractiveinc.mita
> Version:   3.0 (3.0)
> Code Type: X86-64 (Translated)
> Parent Process:launchd [1]
> User ID:   501
>
> Date/Time: 2023-11-02 13:22:17.1555 -0400
> OS Version:macOS 14.1 (23B74)
> Report Version:12
> Anonymous UUID:982CECFD-B763-4068-2C69-6639836A03DF
>
> Sleep/Wake UUID:   DAD13568-D6D9-4419-BF53-FA013DE5385B
>
> Time Awake Since Boot: 11 seconds
> Time Since Wake:   1041 seconds
>
> System Integrity Protection: enabled
>
> Notes:
> PC register does not match crashing frame (0x0 vs 0x1026B9E58)
>
> Crashed Thread:0  Dispatch queue: com.apple.main-thread
>
> Exception Type:EXC_BAD_ACCESS (SIGSEGV)
> Exception Codes:   KERN_INVALID_ADDRESS at 0x0004
> Exception Codes:   0x0001, 0x0004
>
> VM Region Info: 0x4 is not in any region.  Bytes before following region: 
> 140722906071036
>   REGION TYPESTART - END [ VSIZE] PRT/MAX 
> SHRMOD  REGION DETAIL
>   UNUSED SPACE AT START
> --->
>   mapped file  7ffc9ad4-7ffcc03e8000 [598.7M] r-x/r-x 
> SM=COW  ...t_id=60eeba9b
>
> Error Formulating Crash Report:
> PC register does not match crashing frame (0x0 vs 0x1026B9E58)

___
use-livecode mailing list
use-livecode@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Deployment: a plea/opportunity

2023-10-13 Thread Dan Friedman via use-livecode
+1

I obviously agree!I finally got my Mac app uploaded to the Mac Store (and 
approved)… but what a pain!!!   There are SO many steps that could easily be 
done by LiveCode that they have chosen to omit.   Simple things like generating 
the .ipa for iOS (this is a simple command line), having a place to enter the 
permission strings for Mac Desktop apps (this is a pain because you must build 
the app, then grab the generated plist, edit it, then include it in your app 
settings and then build it again.  Not hard, but this is something LC should 
provide in the Application Settings Window.  On that note, the 
“LSApplicationCategoryType” key (and category key) is not included in the 
generated plist.  I had to add it manually.  Apparently, this is now required.  
 I’m sure the great minds at LC could find a way to sign your app if you have 
the correct files installed and “fill in the blanks”.  They could probably do 
justified text too, but I won’t get into that!!  :)

Yes, this is hard to keep up with.  But isn’t that the whole point of a product 
like LiveCode?  The product is supposed to do the dirty work for you.

Although usually at the last second… LC is pretty good when it comes to keeping 
up with requirements with Apple and Android when the problem causes you to not 
be able to submit to the app stores or OS incompatibilities.  But in the case 
of the above examples, there are workarounds.  So, you are on your own.

-Dan


From: use-livecode  on behalf of Tom 
Glod via use-livecode 
Date: Friday, October 13, 2023 at 12:15 PM
To: How to use LiveCode 
Cc: Tom Glod 
Subject: Re: Deployment: a plea/opportunity
100% the biggest problem I have in my business.
Have been stuck on iOS for months.
Android and Windows is kind of OK, but still more can be done.
Agree. Would pay for a solution that just works.

On Fri, Oct 13, 2023 at 3:00 PM Mark Smith via use-livecode <
use-livecode@lists.runrev.com> wrote:

> +1,
>
> I totally agree this is really important (and really hard to keep up
> with). But Apple should take some of the responsibility for this. With the
> resources at their disposal they should be able to create a simpler and
> easier way to execute deployment without sacrificing security and
> authenticity.
>
> Very well said. I should add that I have also been using Kee Nethery’s
> instructions for signing Mac apps and it has been a godsend. I have not
> quite yet gotten to the point of deploying to the App Store (with it) but
> that will be the next step.
>
> Mark
>
>
> > On 13 Oct 2023, at 7:49 pm, William Prothero via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > I second (3rd and 4th too) Richard's plea. Deployment is a killer.
> > Bill
> >
> > William A. Prothero, PhD
> > Prof Emeritus, Dept of Earth Science
> > University of California, Santa Barbara
> >
> >> On Oct 13, 2023, at 10:47 AM, Richard Gaskin via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >>
> >> We see it here in this list. We see it in the forums. We see it
> wherever app deployment is discussed:
> >>
> >> OS requirements for packaging/stapling/signing apps are onerous.
> >>
> >> At the edge of, and sometimes exceeding, being prohibitively so.
> >>
> >> There's no point in making a standalone if you can't ship it.
> >>
> >> If pro devs with decades of experience struggle with this, newcomers
> will run screaming.
> >>
> >> SIMPLIFYING DEPLOYMENT IS THE NUMBER ONE PRIORITY.
> >>
> >> Pardon the all-caps. I rarely use them. But this is important.
> >>
> >> Simplifying deployment is more important than "AI".
> >> Simplifying deployment is more important than "nocode".
> >>
> >> It is the single biggest pain point.
> >>
> >> And so it is the single biggest opportunity.
> >>
> >> Fulfill the promise of "Everyone can code": focus on simplifying
> deployment.
> >>
> >> Step 1: Acquire Matthias' great tool.
> >>
> >> Step 2: Enhance it for current requirements across platforms.
> >>
> >> Step 3: Look for every opportunity to further simplify the process, and
> take it, at least one more simplification with each new build.
> >>
> >> This is important. It really is.
> >>
> >> --
> >>
> >> And no, web export will not magically save things.  Even when that
> becomes truly production-ready, it's only for web apps.  Not everything
> needs to be a web app.
> >>
> >> There are a hundred ways to make web apps.
> >>
> >> There are few ways to make cross-platform native apps.
> >>
> >> And almost none that rival what LC can do on the desktop.
> >>
> >> Play into strengths.  Make native deployment the best it can be.
> >>
> >> When that's done, only then resume work on more peripheral features.
> >>
> >> --
> >> Richard Gaskin
> >> Fourth World Systems
> >>
> >> ___
> >> use-livecode mailing list
> >> use-livecode@lists.runrev.com
> >> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> >> http://lists.runrev.com/mailman/listinfo

I give up! Mac App Installer Hell

2023-10-06 Thread Dan Friedman via use-livecode
If you have a very, very, VERY good understanding of creating Mac installer 
files to be posted to a website for user install, and to submit to the Mac App 
Store, I would like to pay you to walk me through all this - step by step.  I 
can’t take any of more this crap!  Certificates, Identifiers, Profiles, p12 
Files, Keys (public and private), Provisioning, Installer keys… G!!!  I 
have an app that is tested, built and ready to go.  Just need to get it signed 
and uploaded to Apple.   If you understand all this, I would think a 20 minute 
Skype call should get it done.

FYI… This is an update to an existing app that is already in the app store.  
(Don’t ask me how I got it done last time?!).  I don’t know why my brain can’t 
grasp this…. I have read Apple’s documentation, tried the (out of date) LC 
Lesions, watched videos, and gone through article after article.   At this 
point, I am not really interested in learning how to do this… I just want to 
get it done.

Save me!
-Dan
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Shutdown on Android

2023-09-02 Thread Dan Friedman via use-livecode
Jacqueline,

Thank you for the reply.  I don’t think suspend and resume are going to help… 
If the app is playing music (in the foreground or the background) and the user 
brings up the list of running apps and swipes up to remove it, how can I trap 
that the app is being closed and stop playing music?

-Dan



From: use-livecode  on behalf of J. 
Landman Gay via use-livecode 
Date: Friday, September 1, 2023 at 3:37 PM
To: How to use LiveCode 
Cc: J. Landman Gay 
Subject: Re: Shutdown on Android
On 8/31/23 5:36 PM, Dan Friedman via use-livecode wrote:
> Does the shutdown message (or shutdownRequest message) work on Android?   I 
> am playing a song using androidStartAudioPlayingInBackground.   However, if 
> the app is closed (swiping up to exit it), then the audio continues to play.  
> So, I added an androidStopAudioPlayingInBackground command in the shutdown 
> message to stop playing the audio.  But doesn’t seem to work – audio 
> continues to play.
>
> Any thoughts?

Mark Smith reminded me that the suspend and resume messages are now supported 
on mobile
platforms. That might do it.

My old brain forgot about that.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com

___
use-livecode mailing list
use-livecode@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Shutdown on Android

2023-08-31 Thread Dan Friedman via use-livecode
Does the shutdown message (or shutdownRequest message) work on Android?   I am 
playing a song using androidStartAudioPlayingInBackground.   However, if the 
app is closed (swiping up to exit it), then the audio continues to play.  So, I 
added an androidStopAudioPlayingInBackground command in the shutdown message to 
stop playing the audio.  But doesn’t seem to work – audio continues to play.

Any thoughts?

-Dan

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: [[ ANN ]] Release 9.6.10

2023-08-29 Thread Dan Friedman via use-livecode
Panos,

// The release of LC 10 DP-6 is in the final stages of testing and it is 
expected to appear this week.

As always, thanks for the update.  Appreciate it!

-Dan


From: use-livecode  on behalf of 
panagiotis m via use-livecode 
Date: Tuesday, August 29, 2023 at 9:43 AM
To: How to use LiveCode 
Cc: panagiotis m 
Subject: Re: [[ ANN ]] Release 9.6.10
Hello all,

@matthias
I am sorry for the frustration - I know you are very eager to get this
fixed. But this was not planned for LC 9.6.10 anyway.

@Dan
The release of LC 10 DP-6 is in the final stages of testing and it is
expected to appear this week.

Kind regards,
Panos
--

On Tue, 29 Aug 2023 at 19:34, Dan Friedman via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Any word on 10.0.0?   Biting nails!!
>
> -Dan
>
>
> From: use-livecode  on behalf of
> panagiotis merakos via use-livecode 
> Date: Tuesday, August 29, 2023 at 8:10 AM
> To: How to use LiveCode 
> Cc: panagiotis merakos 
> Subject: [[ ANN ]] Release 9.6.10
> Dear list members,
>
> We are pleased to announce the release of LiveCode 9.6.10 STABLE.
>
> LiveCode 9.6.10 STABLE comes with more than 20 bugfixes, including support
> for Android API 33, which will be a requirement for submitting new apps to
> the Google Play Store as of the 31st of August.
>
> You can find more details on the bug fixes and improvements of this new
> release here:
>
> https://livecode.com/livecode-9-6-10-stable-released/
>
> You can find the release in your LiveCode account area or get it via the
> automatic updater.
>
> Enjoy!
>
> Kind regards
> The LiveCode Team
>
> --
> ___
> use-livecode mailing list
> use-livecode@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@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@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: [[ ANN ]] Release 9.6.10

2023-08-29 Thread Dan Friedman via use-livecode
Any word on 10.0.0?   Biting nails!!

-Dan


From: use-livecode  on behalf of 
panagiotis merakos via use-livecode 
Date: Tuesday, August 29, 2023 at 8:10 AM
To: How to use LiveCode 
Cc: panagiotis merakos 
Subject: [[ ANN ]] Release 9.6.10
Dear list members,

We are pleased to announce the release of LiveCode 9.6.10 STABLE.

LiveCode 9.6.10 STABLE comes with more than 20 bugfixes, including support
for Android API 33, which will be a requirement for submitting new apps to
the Google Play Store as of the 31st of August.

You can find more details on the bug fixes and improvements of this new
release here:

https://livecode.com/livecode-9-6-10-stable-released/

You can find the release in your LiveCode account area or get it via the
automatic updater.

Enjoy!

Kind regards
The LiveCode Team

--
___
use-livecode mailing list
use-livecode@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: [[ ANN ]] Release 9.6.10 RC-1

2023-08-18 Thread Dan Friedman via use-livecode
Panos,

What about 10.0.0?  Is there an update coming?   I sure hope so… I’m going to 
be hosed if not.

-Dan


From: use-livecode  on behalf of 
panagiotis merakos via use-livecode 
Date: Thursday, August 17, 2023 at 7:04 AM
To: How to use LiveCode 
Cc: panagiotis merakos 
Subject: [[ ANN ]] Release 9.6.10 RC-1
Dear list members,

We are pleased to announce the release of LiveCode 9.6.10 RC-1.

LiveCode 9.6.10 RC-1 comes with more than 20 bugfixes, including support
for Android API 33, which will be a requirement for submitting new apps to
the Google Play Store as of the 31st of August.

You can find more details on the bug fixes and improvements of this new
release here:

https://livecode.com/livecode-9-6-10-rc-1-released/

You can find the release in your LiveCode account area or get it via the
automatic updater.

Enjoy!

Kind regards
The LiveCode Team
--
___
use-livecode mailing list
use-livecode@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Oddities with iOS IAP

2023-08-15 Thread Dan Friedman via use-livecode
Panos,

Ok… seems to be working now.   I’m no longer getting “completed”, but I am 
consistently getting “paymentRecieved”… and I can make that work.   Obviously, 
I don’t really understand how this all works… but it’s working!

Thank you again for your help!
-Dan


From: use-livecode  on behalf of 
panagiotis m via use-livecode 
Date: Tuesday, August 15, 2023 at 10:24 AM
To: How to use LiveCode 
Cc: panagiotis m 
Subject: Re: Oddities with iOS IAP
Hello Dan,

Just a rough guess, in the purchaseStateUpdate msg, you have:

 mobileStoreConfirmPurchase pProductID //Inform the store that the purchase
identifier productID was successfully delivered
 mobileStoreDisablePurchaseUpdates

in both cases for paymentReceived and restored.

Could you try commenting out the mobileStoreDisablePurchaseUpdates in these
2 cases? Once you call mobileStoreConfirmPurchase, it informs the store
that the purchase was successful, and then the store sends another
"purchaseStateUpdate" with state=complete.

But if you call mobileStoreDisablePurchaseUpdates just after
mobileStoreConfirmPurchase then this stops the communication with the
store. I suggest having mobileStoreDisablePurchaseUpdates just in the
"complete" case and remove it from "paymentReceived" and "restored".

Note that on Android (if I remember correctly)
mobileStoreEnablePurchaseUpdates/mobileStoreDisablePurchaseUpdates do not
actually do something - but they are added for consistency.

If you do this change, and still see the delay, then it is likely a
TestFlight/Sandbox issue. Note that Apple's sandbox servers are slower than
the actual ones used by StoreKit.
(e.g.
https://community.revenuecat.com/sdks-51/testflight-clicking-subscriptions-or-iaps-has-long-delay-2687
)

kind regards,
Panos
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Oddities with iOS IAP

2023-08-15 Thread Dan Friedman via use-livecode
Panos,

Thank you for the reply.   Here is my code…. You click a button, and it calls 
startInAppPurchase with the number of credits to purchase.  After all is done, 
pLog is completely empty.  This is working perfectly on Android.

on startInAppPurchase numCredits
  //setup purchase id
  if numCredits = 1 then
put 1001 into productID
put "$0.99" into productAmount
  else if numCredits = 2 then
put 1002 into productID
put "$1.99" into productAmount
  else if numCredits = 3 then
put 1003 into productID
put "$2.99" into productAmount
  else if numCredits = 11 then
put 1011 into productID
put "$9.99" into productAmount
  end if

  //confirm with user
  if numCredits = 1 then
put "Are you sure you want to purchase 1 credit for" && productAmount & "?" 
into pString
  else
put "Are you sure you want to purchase" && numCredits && "credits for" && 
productAmount & "?" into pString
  end if
  if myAnswer(pString,"Cancel|Buy Now","Purchase Confirmation","|appBlue") = 
"Cancel" then // <-- custom answer dialog
exit startInAppPurchase
  end if

  //initiate the purchase
  mobileStoreEnablePurchaseUpdates
  mobileStoreSetProductType productID,"inapp"
  mobileStoreMakePurchase productID,"1","testPayload - Android Only"
end startInAppPurchase

on purchaseStateUpdate pPurchaseID,pProductID,pState
  global user
  global pLog

  put pState & cr after pLog

  switch pState
case "paymentReceived" //2,1001,paymentReceived
  //tell our server is was successful and log users credits to database
  if isIPhone() then
put mobileStoreProductProperty(pProductID,"transactionIdentifier") into 
tIdentifier
get db_verifyPurchase(pProductID,tIdentifier)
  else
//android handled in case "complete"
  end if

  mobileStoreConfirmPurchase pProductID //Inform the store that the 
purchase identifier productID was successfully delivered
  mobileStoreDisablePurchaseUpdates
  loadMeUp //refresh our display
  break
case "error"
  answer "Error occured during purchase handling:" & return & return & 
mobileStorePurchaseError(pPurchaseID)
  mobileStoreDisablePurchaseUpdates
  break
case "invalidSKU"
  answer "Invalid SKU."
  mobileStoreDisablePurchaseUpdates
  break
case "alreadyEntitled"
  answer "Already Owned."
  mobileStoreDisablePurchaseUpdates
  break
case "restored"
  answer "restored"
  offerPurchasedProduct pProductID
  mobileStoreConfirmPurchase pProductID
  mobileStoreDisablePurchaseUpdates
  loadMeUp
  break
case "canceled"
case "cancelled"
  answer "Purchase Cancelled:" && pProductID
  mobileStoreDisablePurchaseUpdates
  break
case "complete"
  if isAndroid() then
put mobileStoreProductProperty(pProductID,"orderId") into orderId
mobileStoreConsumePurchase pProductID
get db_verifyPurchase(pProductID,orderId)
  end if

  mobileStoreDisablePurchaseUpdates
  break
  end switch
end purchaseStateUpdate


Thank you!
-Dan


From: use-livecode  on behalf of 
panagiotis m via use-livecode 
Date: Tuesday, August 15, 2023 at 1:33 AM
To: How to use LiveCode 
Cc: panagiotis m 
Subject: Re: Oddities with iOS IAP
Hello Dan,

Could you share the code that makes the purchase, as well as the
purchaseStateUpdate message?

Although, my guess is that this is rather a TestFlight issue, since if it
was an issue in LC's API for in-app purchase on iOS, it would have been
reported
ready.

Kind regards,
Panos
--
___
use-livecode mailing list
use-livecode@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Oddities with iOS IAP

2023-08-13 Thread Dan Friedman via use-livecode
I am getting some inconsistent results with in in app purchases from the iOS 
App Store.   In the TestFlight dev environment, the purchase “seems” to be 
complete…  I get all the normal iOS prompts to purchase the product, enter the 
password, etc.  I even get the “You’re All Set.  Your purchase was successful.” 
message.  But, most of the time the purcahseStateUpdate message is never 
received.  (Yes!  I am calling mobileStoreEnablePurchaseUpdates before anything 
else).

Also, after calling mobileStoreMakePurchase, there is quite a pause before you 
get the “confirm purchase” dialog… I mean like 7 to 10 seconds.  And, after you 
make the purchase (and you hear the ‘ding’), there is another 4-5 second pause 
before the “Your purchase was successful” message.   Is that normal?

Any thoughts, insights or advise?   Maybe this is a TestFlight dev environment 
thing?

FWIW, I have no issues on Android.  Google Play store is working as expected – 
every time.

-Dan

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Consumable In App Purchases on Android

2023-08-09 Thread Dan Friedman via use-livecode
Panos,

Again, thank you for your help!   mobileStoreProductProperty works beautifully! 
  As for the lesson, it’s not that it could have been better, it’s actually 
pretty good (as most LC lessons are).  It’s just that it needs to be updated to 
reflect newer methods and procedures.

Given how long your todo list is, I appreciate the time you always take to help 
me, and all the others out.  It’s GREATLY appreciated!

-Dan


From: use-livecode  on behalf of 
panagiotis m via use-livecode 
Date: Wednesday, August 9, 2023 at 12:46 PM
To: How to use LiveCode 
Cc: panagiotis m 
Subject: Re: Consumable In App Purchases on Android
Hello Dan,

Thanks for the update.

RE 1, I *think* yes, but I would suggest you double check this anyway.

RE 2, I would suggest not using mobilePurchaseGet(). This function is from
the older API for in-app purchases, and we have kept it for backwards
compatibility. I suggest using mobileStoreProductProperty (productID,
propertyName) instead. In fact, using mobileStoreProductProperty
(productID, "purchaseToken") is what you need in this use-case.

RE the lessons, yes, they could have been better. I'll add this to my
(long!) todo list :)

Kind regards,
Panos

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Consumable In App Purchases on Android

2023-08-09 Thread Dan Friedman via use-livecode
Panos and others…

First, thank you for your assistance and advise with this.   Panos’ suggestions 
were spot on!Restoring the purchases, then calling 
mobileStoreConsumePurchase worked for consumption.   And, adding a “complete” 
case to purchaseStateUpdate and handeling the mobilePurchaseGet() as well as 
the mobileStoreConsumePurchase worked beautifully.   A couple of follow up 
questions…

1 - Does the “complete” case get returned with the Apple Store as well?
2 – Is there a way to get the purchase token from mobilePurchaseGet() on 
Android?   The “transactionIdentifier” returns the order number, not the 
purchase token.  The purchase token is needed to verify the purchase server 
side.

Lastly, it would be terrific if the lesson on the LC website was updated to 
these options/methods.   It might save the next guy some grief.

-Dan


From: use-livecode  on behalf of 
panagiotis m via use-livecode 
Date: Wednesday, August 9, 2023 at 7:51 AM
To: How to use LiveCode 
Cc: panagiotis m 
Subject: Re: Consumable In App Purchases on Android
Hello all,

Also, it might be worth trying this as well - add a new button with this
code:

on mouseUp
   mobileStoreEnablePurchaseUpdates
   mobileStoreRestorePurchases
end mouseUp

Then press the button, and *then* call mobileStoreConsumePurchase pProductID .
Hopefully now it should be properly consumed, and you should be able to buy
it (and consume it) again.

Cheers,
Panos
--

On Wed, 9 Aug 2023 at 11:37, panagiotis m  wrote:

> Hello Dan,
>
> The call to mobileStoreConfirmPurchase pProductID  causes the
> purchaseStateUpdate message to be sent again with status=complete.
>
> So I would not suggest putting the call to mobileStoreConsumePurchase
> pProductID just after mobileStoreConfirmPurchase.
>
> You could either put it in a separate button and see if it works,
> otherwise add a [case "complete"] in the purchaseStateUpdate msg and there
> consume the product and disable purchase updates, i.e.:
>
> on purchaseStateUpdate pPurchaseID, pProductID, pState
>switch pState
>   case "paymentReceived"
>  answer "Payment received!"
>  offerPurchasedProduct pProductID
>  mobileStoreConfirmPurchase pProductID
>  break
>   case "error"
>  answer "Error occured during purchase handling:" & return &
> return & mobileStorePurchaseError(pPurchaseID)
>  mobileStoreDisablePurchaseUpdates
>  break
>   case "invalidSKU"
>  answer "Invalid SKU."
>  mobileStoreDisablePurchaseUpdates
>  break
>   case "alreadyEntitled"
>  answer "Already Owned."
>  mobileStoreDisablePurchaseUpdates
>  break
>   case "restored"
>  put "Restored: " & pProductID & cr after field "restored"
>  offerPurchasedProduct pProductID
>  mobileStoreConfirmPurchase pProductID
>  break
>   case "cancelled"
>  answer "Purchase Cancelled:" && pProductID
>  mobileStoreDisablePurchaseUpdates
>  break
>   case "complete"
>  answer "Purchase Complete:" && pProductID
>  mobileStoreConsumePurchase pProductID  // <-- ADD THIS HERE
>  mobileStoreDisablePurchaseUpdates
>  break
>end switch
> end purchaseStateUpdate
>
> Hope this helps.
>
> Kind regards,
> Panos
> --
>
>
>
> On Tue, 8 Aug 2023 at 22:52, Dan Friedman via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
>> Andrew,
>>
>> Thank you for the input.   The code snippet you said you are using has
>> mobileStoreConsumePurchase IMMEDIATELY following mobileStoreMakePurchase.
>> Is that what you are doing?   The LC example show that
>> mobileStoreMakePurchase should be handled in the purchaseStateUpdate
>> message after the purchase is paymentReceived”
>>
>> If that’s true, then I feel like I’m doing exactly what you are
>> suggesting.   The purchase is fine, but the consumption if not working for
>> me.   Here’s what I’m doing:
>>
>> on startInAppPurchase numCredits
>>   //setup purchase id
>>   if numCredits = 1 then
>> put 1001 into productID
>> put "$0.99" into productAmount
>>   else if numCredits = 2 then
>> put 1002 into productID
>> put "$1.99" into productAmount
>>   else if numCredits = 3 then
>> put 1003 into productID
>> put "$2.99" into productAmount
>>   else if numCredits = 11 then
>> put 1011 into productID
>> p

Re: Consumable In App Purchases on Android

2023-08-08 Thread Dan Friedman via use-livecode
Andrew,

Thank you for the input.   The code snippet you said you are using has 
mobileStoreConsumePurchase IMMEDIATELY following mobileStoreMakePurchase.  Is 
that what you are doing?   The LC example show that mobileStoreMakePurchase 
should be handled in the purchaseStateUpdate message after the purchase is 
paymentReceived”

If that’s true, then I feel like I’m doing exactly what you are suggesting.   
The purchase is fine, but the consumption if not working for me.   Here’s what 
I’m doing:

on startInAppPurchase numCredits
  //setup purchase id
  if numCredits = 1 then
put 1001 into productID
put "$0.99" into productAmount
  else if numCredits = 2 then
put 1002 into productID
put "$1.99" into productAmount
  else if numCredits = 3 then
put 1003 into productID
put "$2.99" into productAmount
  else if numCredits = 11 then
put 1011 into productID
put "$9.99" into productAmount
  end if

  //confirm with user
  if numCredits = 1 then
put "Are you sure you want to purchase 1 credit for" && productAmount & "?" 
into pString
  else
put "Are you sure you want to purchase" && numCredits && "credits for" && 
productAmount & "?" into pString
  end if
  if myAnswer(pString,"Cancel|Buy Now","Purchase Confirmation","|appBlue") = 
"Cancel" then //my custom answer dialog
exit startInAppPurchase
  end if

  //initiate the purchase
  mobileStoreEnablePurchaseUpdates
  mobileStoreSetProductType productID,"inapp"
  mobileStoreMakePurchase productID,"1","testPayload - Android Only"
end startInAppPurchase

on purchaseStateUpdate pPurchaseID,pProductID,pState
  global user

  switch pState
case "paymentReceived"
  put mobilePurchaseGet(pPurchaseID,"receipt") into rawReciptData

  //tell our server is was sucessful and log users credits to database
  if isIPhone() then
if db_validateAppleReceipt(rawReciptData) then
  add (pProductID-1000) to user["credits"]
end if
  else
//will add Android database call when ready
  end if

  mobileStoreConfirmPurchase pProductID //Inform the store that the 
purchase identifier productID was successfully delivered
  if isAndroid() then
mobileStoreConsumePurchase pProductID. //  <--- DOES NOT SEEM TO 
CONSUME THE PRODUCT !!
  end if

  mobileStoreDisablePurchaseUpdates
  loadMeUp //refresh our display
  break
case "error"
  answer "Error occured during purchase handling:" & return & return & 
mobileStorePurchaseError(pPurchaseID)
  mobileStoreDisablePurchaseUpdates
  break
case "invalidSKU"
  answer "Invalid SKU."
  mobileStoreDisablePurchaseUpdates
  break
case "alreadyEntitled"
  answer "Already Owned."
  mobileStoreDisablePurchaseUpdates
  break
case "restored"
  answer "restored"
 offerPurchasedProduct pProductID
  mobileStoreConfirmPurchase pProductID
  mobileStoreDisablePurchaseUpdates

  loadMeUp //refresh our display
  break
case "canceled"
case "cancelled"
  answer "Purchase Cancelled:" && pProductID
  mobileStoreDisablePurchaseUpdates
  break
  end switch
end purchaseStateUpdate



Do you see anything wonky in my code?

--Dan

From: use-livecode  on behalf of Andrew 
at MidWest Coast Media via use-livecode 
Date: Tuesday, August 8, 2023 at 10:57 AM
To: use-livecode@lists.runrev.com 
Cc: Andrew at MidWest Coast Media 
Subject: Re: Consumable In App Purchases on Android
If I’m consuming instantly, this is the code working in my Android/iOS project 
with comment lines explaining the values being passed in the Android build 
(note that the product ID values are more specific for Android than iOS):

if tPlatform = "android" then
 put "com.midwestcoastmedia.dj3pm." into tProductIDbase
 else if tPlatform = "iPhone" then
 put EMPTY into tProductIDbase
end if
put tProductIDbase & pWhichProduct into tProductID

  mobileStoreEnablePurchaseUpdates
  ## mobileStoreSetProductType "com.midwestcoastmedia.dj3pm.tip01", "inapp"
  mobileStoreSetProductType tProductID, "inapp"
  ## mobileStoreMakePurchase "com.midwestcoastmedia.dj3pm.tip01", "1", 
"Thanks for the buck!"
  mobileStoreMakePurchase tProductID, "1", tMessage
  ## mobileStoreConsumePurchase "com.midwestcoastmedia.dj3pm.tip01"
  mobileStoreConsumePurchase tProductID
  put the result into tCatch

BUT you’ll also need to implement the on purchaseStateUpdate handler to 
completely execute the purchase cycle. The lesson is sometimes hard to follow 
when Android changes their branding/naming but 
https://lessons.livecode.com/m/4069/l/184481-how-do-i-implement-in-app-purchases-in-livecode-google-play-store
 

 has a good example of this.

—Andrew Bell
___
use-livecode mailing

Re: Consumable In App Purchases on Android

2023-08-08 Thread Dan Friedman via use-livecode
Panos,

Thank you for the reply.   Unfortunately, this isn’t working for me… maybe I’m 
doing something wrong?  Product ID is “1001”.  I was able to purchase that 
product no problem.  If I attempt to purchase it again, I get “alreadyEntitled”.

In a button I put:

on mouseUp
mobileStoreConsumePurchase 1001
answer the result
end mouseUp

The result is empty (I assume that is success).  Then, I attempt to purchase 
1001 and again I get “alreadyEntitled”.

I then tried (just guessing at what I need to do as the docs are very vague on 
how to use it):

on mouseUp
mobileStoreEnablePurchaseUpdates
mobileStoreSetProductType 1001,"inapp"
mobileStoreConsumePurchase 1001
answer the result
end mouseUp

Again, result is empty and an attempt to purchase 1001 again, gets 
“alreadyEntitled”.

What am I doing wrong?

-Dan



From: use-livecode  on behalf of 
panagiotis m via use-livecode 
Date: Tuesday, August 8, 2023 at 9:21 AM
To: How to use LiveCode 
Cc: panagiotis m 
Subject: Re: Consumable In App Purchases on Android
Hello Dan,

I think Google no longer differentiates between consumables and
non-consumables when setting up the in-app product - they are both marked
as "In-App Products”. However, in LiveCode, you have to call
mobileStoreConsumePurchase pProductID to be able to buy the product again -
otherwise you get a "alreadyEntitled" status.

If you do this, and still get "alreadyEntitled", then you have to ensure
that the pProductID param passed to mobileStoreConsumePurchase indeed
matches exactly the product id of the product you set up in the google dev
console.

Hope this helps.

Kind regards,
Panos

On Tue, 8 Aug 2023 at 01:57, Dan Friedman via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Does anyone have any experience with consumable in-app purchases on
> Android?   I can’t seem to figure out how to (1) create a consumable
> product, and (2) how to consume it.   mobileStoreConsumePurchase pProductID
> doesn’t seem to function right… I get back a result that is “true”, but
> attempting to purchase the same product, returns “alreadyEntitled”.
>
> The “How do I implement in-app purchases in LiveCode - Google Play Store?”
> lesson says:  click "In-App Products” and click “Add new product”.  From
> there, follow the instructions to create the type of in-app purchase you
> wish to use.
>
> In Google Play Console > Monitize > In-App Products > Create Product,
> there isn’t a place to select the type of in-app purchase.
>
> Any insight or instructions you may have would be greatly appreciated!!
>
> -Dan
> ___
> use-livecode mailing list
> use-livecode@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@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Consumable In App Purchases on Android

2023-08-07 Thread Dan Friedman via use-livecode
Does anyone have any experience with consumable in-app purchases on Android?   
I can’t seem to figure out how to (1) create a consumable product, and (2) how 
to consume it.   mobileStoreConsumePurchase pProductID doesn’t seem to function 
right… I get back a result that is “true”, but attempting to purchase the same 
product, returns “alreadyEntitled”.

The “How do I implement in-app purchases in LiveCode - Google Play Store?” 
lesson says:  click "In-App Products” and click “Add new product”.  From there, 
follow the instructions to create the type of in-app purchase you wish to use.

In Google Play Console > Monitize > In-App Products > Create Product, there 
isn’t a place to select the type of in-app purchase.

Any insight or instructions you may have would be greatly appreciated!!

-Dan
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Query Android Version Code

2023-07-21 Thread Dan Friedman via use-livecode
Does anyone know if there is a way to query the “Version Code” that you enter 
in the Application Settings screen?

-Dan
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Stylized Text on Mobile

2023-07-12 Thread Dan Friedman via use-livecode
Jacque,

Yes, I know that.  But that’s kinda a hack… looking to use the native 
copy/paste and text editing features that we have all come to expect in even 
the most basic and simplistic apps.

-Dan


From: use-livecode  on behalf of J. 
Landman Gay via use-livecode 
Date: Wednesday, July 12, 2023 at 3:17 PM
To: How to use LiveCode 
Cc: J. Landman Gay 
Subject: Re: Stylized Text on Mobile
On 7/12/23 1:19 PM, Dan Friedman via use-livecode wrote:
> Just want to make sure I’m not missing something… there is no method to 
> enter, display or edit stylized text in a native mobile text control (or the 
> widget).  Is this true?   If so, has anyone got a workaround?

You can use a regular LC field for display and some editing.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com

___
use-livecode mailing list
use-livecode@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Stylized Text on Mobile

2023-07-12 Thread Dan Friedman via use-livecode
Just want to make sure I’m not missing something… there is no method to enter, 
display or edit stylized text in a native mobile text control (or the widget).  
Is this true?   If so, has anyone got a workaround?

Kinda hard to believe that this is the case?!   Then again, LC doesn’t have 
justified text.   Sorry for the rant… LiveCode does SO MUCH that when you run 
into these seemingly core items that aren’t there, it’s a bit puzzling and 
frustrating.

-Dan
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Android Push Message Icon

2023-06-22 Thread Dan Friedman via use-livecode
Is anyone seeing the icon in a push notification on Android 13?   We have an 
app built using LC 10.0.0 (dp-5).  The icon seems to show in a Push Message on 
Android Version 10 and 12, but NOT 9 or 13.   I don’t know about 11 as I don’t 
have a device running 11.   I believe this is an issue with LC, but I would 
like to confirm that others are experiencing the same issue.

-Dan
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Android Signing

2023-06-21 Thread Dan Friedman via use-livecode
Hey Ralph and everyone who will read this (now and in the future)…

We FINNALLY got this solved!   So, as you know, Google changed PEPK and they no 
longer supply the Signing Key.  Using their new method with PEPK, we got error 
after error after error!  What finally worked was installing version 17.0.6+10 
of OpenLogic’s OpenJDK version of Java.  We specifically used this version on 
our Windows computer:  
https://builds.openlogic.com/downloadJDK/openlogic-openjdk-jre/17.0.6+10/openlogic-openjdk-jre-17.0.6+10-windows-x64.msi).
  This version of Java has the appropriate encryption libraries needed for the 
PEPK Tool that other versions of Java didn’t include.

-Dan


From: use-livecode  on behalf of Ralph 
DiMola via use-livecode 
Date: Wednesday, June 21, 2023 at 11:16 AM
To: 'How to use LiveCode' 
Cc: Ralph DiMola 
Subject: RE: Android Signing
I'm sorry, I don't exactly remember. I think that came from the developer
console when I selected the pepk option when signing. You can always
"Request upload key reset" on the developer console in Setup==>App Integrity
in the "App signing" tab.

Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net


-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
Of Dan Friedman via use-livecode
Sent: Wednesday, June 21, 2023 11:51 AM
To: How to use LiveCode
Cc: Dan Friedman
Subject: Re: Android Signing

Ralph,

Thank you for the reply.  I have an old version of the pepk.jar from about a
year ago. didn't even try it as I figured it could not be used.  I'll give
it a try. but, where did you/I get the encryptionkey?
SomeVeryLongHexString?

-Dan


From: use-livecode  on behalf of
Ralph DiMola via use-livecode 
Date: Wednesday, June 21, 2023 at 8:18 AM
To: 'How to use LiveCode' 
Cc: Ralph DiMola 
Subject: RE: Android Signing
Dan,

This is how I did it. NOTE: pepk-v1.jar is just my name for the version that
worked. I can post this version if you would like to try it?

Actual output from win 10 command line: (names changed to protect the
innocent)
---
java -jar pepk-v1.jar --keystore=MyKeyStore.keystore
--alias=AppKeyStoreAilias --output=z:\SomPath\encryptedKey.key
--encryptionkey=SomeVeryLongHexString

Enter password for store 'MyKeyStore.keystore':

Enter password for key 'AppKeyStoreAilias':
--

I then had encryptedKey.key file created.


Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net
Phone: 518-636-3998 Ex:11
Cell: 518-796-9332


-Original Message-----
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
Of Dan Friedman via use-livecode
Sent: Wednesday, June 21, 2023 1:24 AM
To: How to use LiveCode
Cc: Dan Friedman
Subject: Re: Android Signing

Jacqueline,

Thank you for the reply.  That is EXACLY what I am doing.  I downloaded the
public key and the PEPK tool.  Pointed the command to the existing keystore
file and got this error: "Cannot find any provider supporting
RSA/NONE/OAEPWithSHA1AndMGF1Padding..."  It looks like there is an error in
the PEPK tool.  "/NONE/" is not a supported encryption!   I would think it
would be "/AES/".

-Dan



From: use-livecode  on behalf of J.
Landman Gay via use-livecode 
Date: Tuesday, June 20, 2023 at 12:42 PM
To: How to use LiveCode 
Cc: J. Landman Gay 
Subject: Re: Android Signing
On 6/19/23 5:29 PM, Dan Friedman via use-livecode wrote:
> I am trying to update an Android app that was previously release on
> the
Google Play Store.   When I went to upload the Bundle, I got this message:
>
> "To upload an Android App Bundle you must be enrolled in Play App
Signing."
>
> With a little research, I found the App Signing area under "App
Integrity".   I tried to follow the directions, but I just get errors.
Anyone done this?  If so, do you have any guidance on this?

I had to do this last week with an update to an existing published app on
Google Play. Do you have your original signing key for the app? You'll need
that first. Sign your app as usual with the original key.

Then look at this:
<https://developer.android.com/studio/publish/app-signing#enroll_existing>

I can't review the necessary Terminal command because I already went through
the process and it isn't available to me now. But originally it gave the
command to generate the Play Store signing key. I already had a pepk.jar
file from before and I used that. I put it into the same directory with Java
because I didn't know how else to do it.

The Terminal command Google provided starts like this:
java -jar pepk.jar --keystore= --alias= --output= --encryptionkey= number>

At what point are you getting the errors? My main issue was in getting
Terminal to find Java, it took me a couple of hours and some research to get
the path to Java to work

Re: Android Signing

2023-06-21 Thread Dan Friedman via use-livecode
Ralph,

Thank you for the reply.  I have an old version of the pepk.jar from about a 
year ago… didn’t even try it as I figured it could not be used.  I’ll give it a 
try… but, where did you/I get the encryptionkey?  SomeVeryLongHexString?

-Dan


From: use-livecode  on behalf of Ralph 
DiMola via use-livecode 
Date: Wednesday, June 21, 2023 at 8:18 AM
To: 'How to use LiveCode' 
Cc: Ralph DiMola 
Subject: RE: Android Signing
Dan,

This is how I did it. NOTE: pepk-v1.jar is just my name for the version that
worked. I can post this version if you would like to try it?

Actual output from win 10 command line: (names changed to protect the
innocent)
---
java -jar pepk-v1.jar --keystore=MyKeyStore.keystore
--alias=AppKeyStoreAilias --output=z:\SomPath\encryptedKey.key
--encryptionkey=SomeVeryLongHexString

Enter password for store 'MyKeyStore.keystore':

Enter password for key 'AppKeyStoreAilias':
--

I then had encryptedKey.key file created.


Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net
Phone: 518-636-3998 Ex:11
Cell: 518-796-9332


-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
Of Dan Friedman via use-livecode
Sent: Wednesday, June 21, 2023 1:24 AM
To: How to use LiveCode
Cc: Dan Friedman
Subject: Re: Android Signing

Jacqueline,

Thank you for the reply.  That is EXACLY what I am doing.  I downloaded the
public key and the PEPK tool.  Pointed the command to the existing keystore
file and got this error: "Cannot find any provider supporting
RSA/NONE/OAEPWithSHA1AndMGF1Padding..."  It looks like there is an error in
the PEPK tool.  "/NONE/" is not a supported encryption!   I would think it
would be "/AES/".

-Dan



From: use-livecode  on behalf of J.
Landman Gay via use-livecode 
Date: Tuesday, June 20, 2023 at 12:42 PM
To: How to use LiveCode 
Cc: J. Landman Gay 
Subject: Re: Android Signing
On 6/19/23 5:29 PM, Dan Friedman via use-livecode wrote:
> I am trying to update an Android app that was previously release on the
Google Play Store.   When I went to upload the Bundle, I got this message:
>
> "To upload an Android App Bundle you must be enrolled in Play App
Signing."
>
> With a little research, I found the App Signing area under "App
Integrity".   I tried to follow the directions, but I just get errors.
Anyone done this?  If so, do you have any guidance on this?

I had to do this last week with an update to an existing published app on
Google Play. Do you have your original signing key for the app? You'll need
that first. Sign your app as usual with the original key.

Then look at this:
<https://developer.android.com/studio/publish/app-signing#enroll_existing>

I can't review the necessary Terminal command because I already went through
the process and it isn't available to me now. But originally it gave the
command to generate the Play Store signing key. I already had a pepk.jar
file from before and I used that. I put it into the same directory with Java
because I didn't know how else to do it.

The Terminal command Google provided starts like this:
java -jar pepk.jar --keystore= --alias= --output= --encryptionkey=

At what point are you getting the errors? My main issue was in getting
Terminal to find Java, it took me a couple of hours and some research to get
the path to Java to work. I know almost nothing about Terminal.

Let us know where you get stuck, though I can't promise I can help. I
congratulate Google on making Android submissions nearly as difficult as
iOS. We need an LC lesson this this.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com

___
use-livecode mailing list
use-livecode@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@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@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Android Signing

2023-06-20 Thread Dan Friedman via use-livecode
Jacqueline,

Thank you for the reply.  That is EXACLY what I am doing.  I downloaded the 
public key and the PEPK tool.  Pointed the command to the existing keystore 
file and got this error: "Cannot find any provider supporting 
RSA/NONE/OAEPWithSHA1AndMGF1Padding..."  It looks like there is an error in the 
PEPK tool.  “/NONE/” is not a supported encryption!   I would think it would be 
“/AES/”.

-Dan



From: use-livecode  on behalf of J. 
Landman Gay via use-livecode 
Date: Tuesday, June 20, 2023 at 12:42 PM
To: How to use LiveCode 
Cc: J. Landman Gay 
Subject: Re: Android Signing
On 6/19/23 5:29 PM, Dan Friedman via use-livecode wrote:
> I am trying to update an Android app that was previously release on the 
> Google Play Store.   When I went to upload the Bundle, I got this message:
>
> “To upload an Android App Bundle you must be enrolled in Play App Signing.”
>
> With a little research, I found the App Signing area under “App Integrity”.   
> I tried to follow the directions, but I just get errors.  Anyone done this?  
> If so, do you have any guidance on this?

I had to do this last week with an update to an existing published app on 
Google Play. Do you
have your original signing key for the app? You'll need that first. Sign your 
app as usual with
the original key.

Then look at this:
<https://developer.android.com/studio/publish/app-signing#enroll_existing>

I can't review the necessary Terminal command because I already went through 
the process and it
isn't available to me now. But originally it gave the command to generate the 
Play Store
signing key. I already had a pepk.jar file from before and I used that. I put 
it into the same
directory with Java because I didn't know how else to do it.

The Terminal command Google provided starts like this:
java -jar pepk.jar --keystore= --alias= 
--output= --encryptionkey=

At what point are you getting the errors? My main issue was in getting Terminal 
to find Java,
it took me a couple of hours and some research to get the path to Java to work. 
I know almost
nothing about Terminal.

Let us know where you get stuck, though I can't promise I can help. I 
congratulate Google on
making Android submissions nearly as difficult as iOS. We need an LC lesson 
this this.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com

___
use-livecode mailing list
use-livecode@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Android Signing

2023-06-19 Thread Dan Friedman via use-livecode
I am trying to update an Android app that was previously release on the Google 
Play Store.   When I went to upload the Bundle, I got this message:

“To upload an Android App Bundle you must be enrolled in Play App Signing.”

With a little research, I found the App Signing area under “App Integrity”.   I 
tried to follow the directions, but I just get errors.  Anyone done this?  If 
so, do you have any guidance on this?

Thank you in advance,
-Dan
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Android Status Bar Icon

2023-05-24 Thread Dan Friedman via use-livecode
Greetings!   I am seeing inconsistent results on the status bar icon on 
Android.  On some devices (most running Android 9), the icon that appears in a 
push message is a white or grey square.  I have tried using a 24x24 PNG for the 
Status Bar Icon and I also tried a 512x512.   Another device running Android 
10, displays the image just fine (at either size).  Is there an image size that 
I should be using?  Or are there incompatibility with LC and Android 9?

Anyone have any insight to this issue?

-Dan
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Android Push Messaging issue

2023-05-17 Thread Dan Friedman via use-livecode
Panos,

Thank you for the reply.  Yes, I have seen that lesson – many times.  I have 
everything in place, and I have downloaded and installed the json file.  It’s 
not that the app isn’t getting the push message, it’s that the device isn’t 
getting the message – at all!  If the app is or is not launched, the device 
isn’t getting the message.  Even though Google says it’s been successfully sent.

FYI… I have another app that is using FB and it’s working fine.

Thank you!
-Dan


From: use-livecode  on behalf of 
panagiotis m via use-livecode 
Date: Wednesday, May 17, 2023 at 1:21 PM
To: How to use LiveCode 
Cc: panagiotis m 
Subject: Re: Android Push Messaging issue
Hello Dan,

Have you seen this lesson?

https://lessons.livecode.com/m/4069/l/1473964-how-do-i-use-push-notifications-with-android-in-livecode-9-6-5

What is your code that handles the notification?

Kind regards,
Panos

On Wed, 17 May 2023, 22:38 Dan Friedman via use-livecode, <
use-livecode@lists.runrev.com> wrote:

> I am stumped!I have an app that where push messaging is working fine
> using Legacy Cloud Messaging (and LC 9.6.2).  I have setup the new Firebase
> Cloud Messaging and downloaded the new “google-services.json” file and
> included it in my updated standalone (LC 10.0.0).  The app when launched on
> a device is registering a valid token.   When I use the Firebase Cloud
> Messaging test tool (and include the token from my app) it says a message
> was sent successfully but was not received on the device.   Any thoughts?
>
> FYI… Sending from our server gives the same result:  sent successfully,
> but no push to the physical device.
>
> If it matters, both Firebase Cloud Messaging API and the Legacy Cloud
> Messaging services are enabled (because the non-Firebase app is still being
> used in production).
>
> -Dan
> ___
> use-livecode mailing list
> use-livecode@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@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Android Push Messaging issue

2023-05-17 Thread Dan Friedman via use-livecode
I am stumped!I have an app that where push messaging is working fine using 
Legacy Cloud Messaging (and LC 9.6.2).  I have setup the new Firebase Cloud 
Messaging and downloaded the new “google-services.json” file and included it in 
my updated standalone (LC 10.0.0).  The app when launched on a device is 
registering a valid token.   When I use the Firebase Cloud Messaging test tool 
(and include the token from my app) it says a message was sent successfully but 
was not received on the device.   Any thoughts?

FYI… Sending from our server gives the same result:  sent successfully, but no 
push to the physical device.

If it matters, both Firebase Cloud Messaging API and the Legacy Cloud Messaging 
services are enabled (because the non-Firebase app is still being used in 
production).

-Dan
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Android 13?

2023-04-22 Thread Dan Friedman via use-livecode
I have a custom that is trying to install my app (from the Google Play Store) 
and says they are getting the message, “This app was built for an older version 
of Android…”.   The app was built with 9.6.2.   Does LC support this version of 
Android?   And, if so, what version of LC do I need to use?

Thank you in advance,
-Dan
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Android Build Error

2023-04-15 Thread Dan Friedman via use-livecode
I am trying to build my Android App with the latest version of 10.0.0 DP-5.   
However, when I build the app, I get this error:

There was an error while saving the standalone application could not encode 
class bundle - error:
Methods with invalid locals information:
void 
android.viewpager.widget.PagerTitleStrip.updateTextPositions(int,float,boolean)
Information in locals-table is invalid with respect to the stack map table. 
Local refers to non-present stack map type for register: 37 with constraint 
INT. Info in
/private/var/folders/f7/33kdx2c501dfsgt687_1cgn/T/Temporaryltems/tmp.21643.4AABuSE/35/classes.jar:android×/print/PrintHelperSPrintUriAdapter$1.class:
 Methods with invalid locals information:
void 
android.print.PrintHelper$PrintUriAdapter$1.onPostExecute(android.graphics.Bitmap)
Information in locals-table is invalid with respect to the stack map table. 
Local refers to non-present stack map type for register: 2 with constraint 
OBJECT.

Anyone have any thoughts or ideas on this problem?

-Dan
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Android SDK Tools Missing

2023-04-10 Thread Dan Friedman via use-livecode
Panos,

Yes, thank you!   I discovered that.   I did install it and now LC accepted the 
SDK root.  Woo Hoo!The JDK path didn’t fill in so I’ll have to investigate 
that next.

Thank you!

-Dan

From: use-livecode  on behalf of 
panagiotis m via use-livecode 
Date: Monday, April 10, 2023 at 11:56 AM
To: How to use LiveCode 
Cc: panagiotis m 
Subject: Re: Android SDK Tools Missing
Hello Dan,

If you uncheck the option "Hide Obsolete Packages" then you will see the
"Android SDK Tools" package. It is now marked a s obsolete, so I am not
entirely sure if it is still necessary.

Kind regards,
Panos
--

On Mon, 10 Apr 2023 at 21:38, Dan Friedman via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Matthias,
>
> Thank you for the reply.  The “SDK Tools” is just not listed.   Everything
> else is.   I see “Android Emulator” and “Android SDK Platform-Tools”, but
> not “Android SDK Tools”. “Show Package Details” is checked.
>
> -Dan
>
>
> From: use-livecode  on behalf of
> matthias rebbe via use-livecode 
> Date: Monday, April 10, 2023 at 11:30 AM
> To: How to use LiveCode 
> Cc: matthias_livecode_150...@m-r-d.de 
> Subject: Re: Android SDK Tools Missing
> Hello Dan,
>
> i am not sure what exactly your problem is.
>
> Do you just not  see the any SDK Tools listed on the tab or do you just
> not see the version that you want to install?
> If the latter then "enable" the option "show package details". This will
> show all available SDK tools.
>
> Regards
> Matthias
>
>
> > Am 10.04.2023 um 19:46 schrieb Dan Friedman via use-livecode <
> use-livecode@lists.runrev.com>:
> >
> > I am following the directions (
> https://lessons.livecode.com/m/4069/l/985962-livecode-and-android-studio)
> to install Android Studio on my Apple M1 Max Mac.   The instructions say to
> select the “Android SDK Tools”.  However, this option is not listed in the
> “SDK Tools” tab of the Android Studio Preferences.   Did I do something
> wrong, or do I have to download this manually?   If so, where do I get this?
> >
> > Currently, when I select the “sdk” folder in LC’s Preferences, I get the
> dreaded “The chosen folder is not a valid Android SDK. Please ensure you
> have installed it correctly, and enabled support for Android 10.0.” message.
> >
> > Any ideas?
> >
> > -Dan
> > ___
> > use-livecode mailing list
> > use-livecode@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@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@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@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Android SDK Tools Missing

2023-04-10 Thread Dan Friedman via use-livecode
Interesting… When I uncheck “Hide Obsolete Packages”, the “Android SDK Tools” 
appears.   Although, it says “Android SDK Tools (Obsolete)”.

-Dan



Hello Dan,

i am not sure what exactly your problem is.

Do you just not  see the any SDK Tools listed on the tab or do you just not see 
the version that you want to install?
If the latter then "enable" the option "show package details". This will show 
all available SDK tools.

Regards
Matthias


> Am 10.04.2023 um 19:46 schrieb Dan Friedman via use-livecode 
> :
>
> I am following the directions 
> (https://lessons.livecode.com/m/4069/l/985962-livecode-and-android-studio) to 
> install Android Studio on my Apple M1 Max Mac.   The instructions say to 
> select the “Android SDK Tools”.  However, this option is not listed in the 
> “SDK Tools” tab of the Android Studio Preferences.   Did I do something 
> wrong, or do I have to download this manually?   If so, where do I get this?
>
> Currently, when I select the “sdk” folder in LC’s Preferences, I get the 
> dreaded “The chosen folder is not a valid Android SDK. Please ensure you have 
> installed it correctly, and enabled support for Android 10.0.” message.
>
> Any ideas?
>
> -Dan
> ___
> use-livecode mailing list
> use-livecode@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@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Android SDK Tools Missing

2023-04-10 Thread Dan Friedman via use-livecode
Matthias,

Thank you for the reply.  The “SDK Tools” is just not listed.   Everything else 
is.   I see “Android Emulator” and “Android SDK Platform-Tools”, but not 
“Android SDK Tools”. “Show Package Details” is checked.

-Dan


From: use-livecode  on behalf of 
matthias rebbe via use-livecode 
Date: Monday, April 10, 2023 at 11:30 AM
To: How to use LiveCode 
Cc: matthias_livecode_150...@m-r-d.de 
Subject: Re: Android SDK Tools Missing
Hello Dan,

i am not sure what exactly your problem is.

Do you just not  see the any SDK Tools listed on the tab or do you just not see 
the version that you want to install?
If the latter then "enable" the option "show package details". This will show 
all available SDK tools.

Regards
Matthias


> Am 10.04.2023 um 19:46 schrieb Dan Friedman via use-livecode 
> :
>
> I am following the directions 
> (https://lessons.livecode.com/m/4069/l/985962-livecode-and-android-studio) to 
> install Android Studio on my Apple M1 Max Mac.   The instructions say to 
> select the “Android SDK Tools”.  However, this option is not listed in the 
> “SDK Tools” tab of the Android Studio Preferences.   Did I do something 
> wrong, or do I have to download this manually?   If so, where do I get this?
>
> Currently, when I select the “sdk” folder in LC’s Preferences, I get the 
> dreaded “The chosen folder is not a valid Android SDK. Please ensure you have 
> installed it correctly, and enabled support for Android 10.0.” message.
>
> Any ideas?
>
> -Dan
> ___
> use-livecode mailing list
> use-livecode@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@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Android SDK Tools Missing

2023-04-10 Thread Dan Friedman via use-livecode
I am following the directions 
(https://lessons.livecode.com/m/4069/l/985962-livecode-and-android-studio) to 
install Android Studio on my Apple M1 Max Mac.   The instructions say to select 
the “Android SDK Tools”.  However, this option is not listed in the “SDK Tools” 
tab of the Android Studio Preferences.   Did I do something wrong, or do I have 
to download this manually?   If so, where do I get this?

Currently, when I select the “sdk” folder in LC’s Preferences, I get the 
dreaded “The chosen folder is not a valid Android SDK. Please ensure you have 
installed it correctly, and enabled support for Android 10.0.” message.

Any ideas?

-Dan
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


LC and Universal Links

2023-03-15 Thread Dan Friedman via use-livecode
I know that LC supports Custom URLs… I have used on both iOS and Android and it 
works great!  But it looks like there is a new method, “Universal Links”.   
https://developer.apple.com/documentation/xcode/supporting-universal-links-in-your-app

Does anyone know if LC supports Universal Links?

-Dan
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Custom URL on Android

2023-03-07 Thread Dan Friedman via use-livecode
I have an Android app that I am launching from a webpage via the custom URL on 
an Android device.  If I put the link in a webpage and click it, it works fine. 
 The app launches and I get the param to act upon.   However, if launch the app 
through a java script, then the browser displays a white “sheet” with the app’s 
icon and doesn’t do anything else.

Note: on iOS the launch from Java script works fine.

Any thoughts?

-Dan
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Mobile ask and capitalization

2023-02-27 Thread Dan Friedman via use-livecode
Is it possible to define the autoCapitalizationType for the ask command (for 
mobile)?  Seems that it's always set to "none".  I would like to set it to 
"sentences".

Thanks in advance!
-Dan
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Transporter Issue

2023-02-21 Thread Dan Friedman via use-livecode
Panos,

No, that’s not it.   It’s a match.. it’s EXATLY how it is in the profile and in 
the certificate.  FWIW, I have uploaded this app before, I am trying to upload 
an update to an existing app.  So, I didn’t even change the app ID (just the 
version number).   I did have to update the certificate as it had expired.  But 
that’s it.   Of course, since it wasn’t working, I have revoked and recreated 
everything… still getting the same message in Transporter.   I always felt that 
LC wouldn’t properly build the app if all the “pieces” weren’t properly in 
place.  So, I am still stumped!

FYI… I built the original version of this app in 9.6.2 and am now updating the 
app using 10.0.0 (dp 5).  I have other apps that I built with 10.0.0 that were 
(and still are) working just fine.

-Dan


From: panagiotis m 
Date: Tuesday, February 21, 2023 at 1:17 PM
To: Dan Friedman 
Cc: How to use LiveCode 
Subject: Re: Transporter Issue
Dan,

Could it be the case the app id of your standalone does not match the one in 
iTunes connect? Maybe an uppercase/lowercase mismatch?

Kind regards,
Panos

On Tue, 21 Feb 2023, 23:09 Dan Friedman, 
mailto:d...@clearvisiontech.com>> wrote:
Panos,

Thank you for the reply….  It’s iOS.   I get this error the moment I drop the 
ipa into Transporter.


Regards,

Dan Friedman
CEO, ClearVision Technologies, LLC
909.484.2052
d...@clearvisiontech.com<mailto:d...@clearvisiontech.com>
https://www.clearvisiontech.com


From: use-livecode 
mailto:use-livecode-boun...@lists.runrev.com>>
 on behalf of panagiotis m via use-livecode 
mailto:use-livecode@lists.runrev.com>>
Sent: Tuesday, February 21, 2023 10:57:58 AM
To: How to use LiveCode 
mailto:use-livecode@lists.runrev.com>>
Cc: panagiotis m mailto:merak...@gmail.com>>
Subject: Re: Transporter Issue

Hello Dan,

Is that an iOS or a Mac app? At which stage of the process do you get this
error?

Kind regards,
Panos
--

On Tue, 21 Feb 2023 at 20:35, Dan Friedman via use-livecode <
use-livecode@lists.runrev.com<mailto:use-livecode@lists.runrev.com>> wrote:

> Does anyone have any insight to this problem?
>
> I can create my app in 10.0.0 (dp 5) with no issue/warning/error of any
> kind.  But, when I try to add it to Transported to upload to Apple, I get
> this error message:
>
> Could not create a temporary .itmsp package for the app “application.ipa”.
> Lookup application information from the web service failed.
>
> I have other apps that don’t give this error when added to Transporter.  I
> think it’s probably a certificate or key issue, but I can’t see any issues
> or missing items.  Any thoughts or ideas would be greatly appreciated!  I’m
> out of things to try…. Grrr…
>
> -Dan
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com<mailto:use-livecode@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@lists.runrev.com<mailto:use-livecode@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Transporter Issue

2023-02-21 Thread Dan Friedman via use-livecode
Panos,

Thank you for the reply….  It’s iOS.   I get this error the moment I drop the 
ipa into Transporter.


Regards,

Dan Friedman
CEO, ClearVision Technologies, LLC
909.484.2052
d...@clearvisiontech.com
https://www.clearvisiontech.com


From: use-livecode  on behalf of 
panagiotis m via use-livecode 
Sent: Tuesday, February 21, 2023 10:57:58 AM
To: How to use LiveCode 
Cc: panagiotis m 
Subject: Re: Transporter Issue

Hello Dan,

Is that an iOS or a Mac app? At which stage of the process do you get this
error?

Kind regards,
Panos
--

On Tue, 21 Feb 2023 at 20:35, Dan Friedman via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Does anyone have any insight to this problem?
>
> I can create my app in 10.0.0 (dp 5) with no issue/warning/error of any
> kind.  But, when I try to add it to Transported to upload to Apple, I get
> this error message:
>
> Could not create a temporary .itmsp package for the app “application.ipa”.
> Lookup application information from the web service failed.
>
> I have other apps that don’t give this error when added to Transporter.  I
> think it’s probably a certificate or key issue, but I can’t see any issues
> or missing items.  Any thoughts or ideas would be greatly appreciated!  I’m
> out of things to try…. Grrr…
>
> -Dan
> ___
> use-livecode mailing list
> use-livecode@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@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Transporter Issue

2023-02-21 Thread Dan Friedman via use-livecode
Does anyone have any insight to this problem?

I can create my app in 10.0.0 (dp 5) with no issue/warning/error of any kind.  
But, when I try to add it to Transported to upload to Apple, I get this error 
message:

Could not create a temporary .itmsp package for the app “application.ipa”.
Lookup application information from the web service failed.

I have other apps that don’t give this error when added to Transporter.  I 
think it’s probably a certificate or key issue, but I can’t see any issues or 
missing items.  Any thoughts or ideas would be greatly appreciated!  I’m out of 
things to try…. Grrr…

-Dan
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Mobile Clipboard?

2022-12-16 Thread Dan Friedman via use-livecode
Is there a way to set the clipboard text on a mobile (iOS and Android) device?  
Something equivalent to "set the clipboardData to someText"?

Thanks in advance,
-Dan

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: App not printing

2022-11-28 Thread Dan Friedman via use-livecode
Marty,

I had a similar issue.   The only way to resolve the issue was to add the 
printing entitlements.   Apps uploaded to the Mac App Store must have the 
sandbox environment enabled, and for every functionality that needs to 
communicate with the "outside world" it needs the appropriate entitlement. See 
section 16 of lesson:

https://lessons.livecode.com/m/4071/l/876834-signing-and-uploading-apps-to-the-mac-app-store

In the entitlements list, you need to add the printing entitlement 
(com.apple.security.print).


Hope that helps!

-Dan
 

On 11/28/22, 8:28 AM, "use-livecode on behalf of Marty Knapp via use-livecode" 
 wrote:

I have an app built with LC 9.6.7 (I believe) and this morning my tech 
support is flooded with people who are unable to print and some reporting error 
1002 on Mac but the there are some Windows users reporting they cannot print 
either.

Anybody else seeing this?
---
Marty Knapp
___
use-livecode mailing list
use-livecode@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Printing Woes

2022-10-13 Thread Dan Friedman via use-livecode
Panos,

The common denominator seems to be a Macbook Air.

One client said:  "We are using on Macintosh computers (2021 Macbook Air and 
Mac Studio desktops) and are seeing that the Page Setup and Print buttons do 
not seem to do anything."

Another:  "I am getting more inquiries about teachers not being able to print. 
They can run RCM on their MacBook Air but they cannot print. Their macOS is 
10.14.6."

Another was on a MacBook Air (2017), macOS 12.6.

What do you mean by "Does the Console app show anything suspicious?"


-Dan

 

On 10/13/22, 2:30 AM, "use-livecode on behalf of panagiotis m via 
use-livecode"  wrote:

Hello Dan,

What is the MacOS version of the computers where "answer page setup" fails?
Do they have anything else in common? Does the Console app show anything
suspicious?

Kind regards,
Panos

    On Thu, 13 Oct 2022 at 01:41, Dan Friedman via use-livecode <
use-livecode@lists.runrev.com> wrote:

> I am getting several reports of clients that can't print from my Mac app
> built with 9.6.8.  When we call "answer page setup", nothing happens (and
> the result is empty).   It doesn’t happen on all computers... some work 
and
> some don’t.   Anyone have any thoughts, insights or ideas?
>
> -Dan

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Printing Woes

2022-10-12 Thread Dan Friedman via use-livecode
I am getting several reports of clients that can't print from my Mac app built 
with 9.6.8.  When we call "answer page setup", nothing happens (and the result 
is empty).   It doesn’t happen on all computers... some work and some don’t.   
Anyone have any thoughts, insights or ideas?

-Dan



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: PDF Printing

2022-10-04 Thread Dan Friedman via use-livecode
Mark,

Genius!  I can't thank you enough...  That worked!  Make sure that the field 
that holds the text has a valid font name and isn't inheriting a system-level 
font.  That REALLY ought to be documented in the PDF routines in LC.

As long as I have your ear...   Whenever I call this, I get a blank page in the 
beginning of my PDF.  I have checked that I'm not printing a blank page and 
have debugged this to death!   Any thoughts on a blank page being included in a 
PDF?

-Dan
 

On 10/4/22, 11:44 AM, "use-livecode on behalf of Mark Waddingham via 
use-livecode"  wrote:

    On 2022-10-04 16:20, Dan Friedman via use-livecode wrote:
> Here are examples of the printouts (the PDFs):
> Print to PDF - https://www.clearvisiontech.com/WORKING/PrintToPDF1.pdf
> Print to Printer - 
> https://www.clearvisiontech.com/WORKING/PrintToPDF2.pdf
> 
> Any thoughts or ideas?

Someone had a similar problem in the past (Paul or Klaus maybe?) - it 
turned out that it was because no explicit font was set on the stack (or 
controls) - meaning that it was using the macOS 'theme' font.

This isn't actually a 'discoverable' font in the various font related 
APIs - and appears to be (somewhat!) hard-coded in the various low-level 
Apple graphics rendering APIs.

The PDF printer does use the correct fonts and metrics - and CoreText 
(on macOS) to do font layout - but the actual PDF generation is done 
using a cross-platform library (so the output is the same on all 
platforms) which relies on getting the 'real' font data for the given 
font (which it does not in this case) and not macOS (CoreGraphics-based) 
printing. The latter appears to be able to deal with the 'magic' fonts 
(unsurprising as its all Apple stuff), but our pdf printer cannot.

If you set the stack to an explicit font then the problem should go 
away.

Alternatively, if this is a mac-only product, you can use macOS's PDF 
printing capability by setting the printerOutput property to 
"file:" - on macOS the latter will generate a PDF (i.e. its 
the same as choosing 'Save As PDF' from the printer dialog).

Hope this helps!

Mark.

-- 
Mark Waddingham ~ m...@livecode.com ~ http://www.livecode.com/
LiveCode: Everyone can create apps

___
use-livecode mailing list
use-livecode@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: PDF Printing

2022-10-04 Thread Dan Friedman via use-livecode
Thank you for your thoughts, but do you really think a font cache is the issue? 
  I have two computers in my office having this issue, and about a dozen Macs 
at my client's location -- that we know of so far!   If it were a font issue, 
do you think one print method would be successful, and another wouldn't?   If 
the font table was messed up, I would think it would be wacked for all methods. 
 No?

I could be wrong (I'm wrong all the time!) but, I think it's something in LC's 
internal PDF handling, or some property I need to set or reset.

-Dan
 

On 10/4/22, 9:51 AM, "use-livecode on behalf of Ralph DiMola via use-livecode" 
 wrote:

Dan,

How to delete Windows font cache:
https://www.tenforums.com/tutorials/54452-rebuild-font-cache-windows-10-a.ht
ml

Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net

-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
    Of Dan Friedman via use-livecode
Sent: Tuesday, October 04, 2022 11:21 AM
To: How to use LiveCode
Cc: Dan Friedman
Subject: PDF Printing

I am getting different results using "open printing to pdf" vs standard
printing to a printer.   I have a card with a single field on it with some
formatted text in it.   If I print the card to a printer using "open
printing with dialog" it all looks perfect (even if I choose to save it to
PDF in the print dialog).   But, if I use the "open printing to pdf" method,
it get wrong fonts and inconsistent tab spacings.   Here is the EXACT code I
am using:

on mouseUp currSName
  put (the hilite of btn "printAsPDF" of stack "ReportOptions") into
printAsPDF

  if printAsPDF then
ask file "Save As PDF:" with (currSName & ".pdf")
put it into pdfPath
open printing to pdf pdfPath
  else
open printing with dialog
  end if

  if the result is "Cancel" then
exit mouseUp
  end if

  print card 1 of stack "GB_PReport"
  close printing
end mouseUp

Here are examples of the printouts (the PDFs):
Print to PDF - https://www.clearvisiontech.com/WORKING/PrintToPDF1.pdf
Print to Printer - https://www.clearvisiontech.com/WORKING/PrintToPDF2.pdf

Any thoughts or ideas?

LC 9.6.8

___
use-livecode mailing list
use-livecode@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@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


PDF Printing

2022-10-04 Thread Dan Friedman via use-livecode
I am getting different results using "open printing to pdf" vs standard 
printing to a printer.   I have a card with a single field on it with some 
formatted text in it.   If I print the card to a printer using "open printing 
with dialog" it all looks perfect (even if I choose to save it to PDF in the 
print dialog).   But, if I use the "open printing to pdf" method, it get wrong 
fonts and inconsistent tab spacings.   Here is the EXACT code I am using:

on mouseUp currSName
  put (the hilite of btn "printAsPDF" of stack "ReportOptions") into printAsPDF
  
  if printAsPDF then
ask file "Save As PDF:" with (currSName & ".pdf")
put it into pdfPath
open printing to pdf pdfPath
  else
open printing with dialog
  end if
  
  if the result is "Cancel" then
exit mouseUp
  end if
  
  print card 1 of stack "GB_PReport"
  close printing
end mouseUp

Here are examples of the printouts (the PDFs):
Print to PDF - https://www.clearvisiontech.com/WORKING/PrintToPDF1.pdf
Print to Printer - https://www.clearvisiontech.com/WORKING/PrintToPDF2.pdf

Any thoughts or ideas?

LC 9.6.8

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Images in Push Messages

2022-09-27 Thread Dan Friedman via use-livecode
Panos,

Yes, I have the icon in place and its showing just fine.  It's not the icon I'm 
working on... it's an actual image within the message (Like this: 
https://raw.githubusercontent.com/pluralsight/guides/master/images/df051757-9a09-417b-a77a-8192c984b9a4.png).
  In some more research, I ran into this:

https://developer.android.com/develop/ui/views/notifications/build-notification

Does LC use the " NotificationCompat" when building packages?


Thank you!
 
Dan Friedman
CEO, ClearVision Technologies, LLC
Voice: 909/484-2052
http://www.clearvisiontech.com
 

On 9/27/22, 4:46 AM, "use-livecode on behalf of panagiotis m via use-livecode" 
 wrote:

Hello Dan,

Have you provided a "Status Bar Icon" in the Android standalone settings?
If yes, what icons have you tried? I think colored icons are no longer
allowed, in recent Android versions.

The icons have to be png images, and they need to be white on black or
transparent only, otherwise they display as a gray square area.

You can check some samples on the web, e.g. here:


https://romannurik.github.io/AndroidAssetStudio/icons-notification.html#source.type=clipart&source.clipart=place&source.space.trim=1&source.space.pad=0&name=ic_stat_place

Hope this helps.

Please let us know if this works for you.

    Kind regards,
    Panos

    On Tue, 27 Sept 2022 at 03:50, Dan Friedman via use-livecode <
use-livecode@lists.runrev.com> wrote:

> We're trying to add images to push messages.  Can't seem to get it to work
> (starting with Android first).  Anyone have any knowledge on this?   I
> wouldn't think so, but Is there something I have to set in the LC app?
> Any guidance anyone might have would be appreciated!
>
> -Dan
>
> ___
> use-livecode mailing list
> use-livecode@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@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Images in Push Messages

2022-09-26 Thread Dan Friedman via use-livecode
We're trying to add images to push messages.  Can't seem to get it to work 
(starting with Android first).  Anyone have any knowledge on this?   I wouldn't 
think so, but Is there something I have to set in the LC app?Any guidance 
anyone might have would be appreciated!

-Dan

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


mobileControl placeholderText?

2022-08-11 Thread Dan Friedman via use-livecode
Is there a method to add placeholderText to a native mobile control field?   
So, if the fields' text is empty, it will show a string in gray.   Like a 
Password field that when empty displays "Enter password here".

Dan

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Android API Level 31

2022-08-09 Thread Dan Friedman via use-livecode
Panos,

THANK YOU for the quick reply and the information!   If we're talking days or 
early next week, I can probably wait.  Anything later than that and I'll need 
something to give my client.

Thank you!
Dan 


On 8/9/22, 11:47 AM, "use-livecode on behalf of panagiotis m via use-livecode" 
 wrote:

Hello Dan,

This is a new requirement of the Google Play Store, i.e. new apps should
target Android API 31. We are preparing a build of LC 9.6.9 RC-1 that among
other bugfixes includes support for API31 too, it is currently in testing
and should be good for release very soon. If you are urgently affected
please contact support and we can offer an interim (test) build to try.

Kind regards,
Panos
--

On Tue, 9 Aug 2022 at 20:34, Dan Friedman via use-livecode <
use-livecode@lists.runrev.com> wrote:

> I am trying to upload an AAB to Google Play Condole and I am getting this
> error:
>
> "Your app currently targets API level 30 and must target at least API
> level 31 to ensure it is built on the latest APIs optimized for security
> and performance. Change your app's target API level to at least 31."
>
> I have enabled the "Android 12.0 (S)" SDK (API Level 31) in Android Studio
> and restarted LC and rebuilt the app.  Still getting the error from Google
> Play.   Anyone have any ideas as to the LC/Studio settings needed to get
> Google to accept the app?
>
> Thank you in advance!
> Dan
>
> ___
> use-livecode mailing list
> use-livecode@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@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Android API Level 31

2022-08-09 Thread Dan Friedman via use-livecode
I am trying to upload an AAB to Google Play Condole and I am getting this error:

"Your app currently targets API level 30 and must target at least API level 31 
to ensure it is built on the latest APIs optimized for security and 
performance. Change your app's target API level to at least 31."

I have enabled the "Android 12.0 (S)" SDK (API Level 31) in Android Studio and 
restarted LC and rebuilt the app.  Still getting the error from Google Play.   
Anyone have any ideas as to the LC/Studio settings needed to get Google to 
accept the app?

Thank you in advance!
Dan

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Android Player Object in Background

2022-07-26 Thread Dan Friedman via use-livecode
Tom,

Yes, I know the browser will do this.  That's what we did originally.   But, I 
couldn't get enough control over the playback in the browser.  The Player 
Object does everything I need!   Except work with the OS apparently.  I'll have 
to reach out to LC for assistance.

-Dan


On 7/26/22, 2:29 PM, "use-livecode on behalf of Tom Glod via use-livecode" 
 wrote:

The way I achieved this is using a html 5 player in the browser instead of
the player object.
The player has no way of doing this currentlyas far as I know.

On Tue, Jul 26, 2022 at 12:43 PM Dan Friedman via use-livecode <
use-livecode@lists.runrev.com> wrote:

> I have a music playing app that uses the native player object to play
> music.  When in the background, iOS allows control of the playing song in
> the Control Center.  This not function this way on Android.  There is a
> androidStartAudioPlayingInBackground command, but that plays a supplied
> url, not from the player object.   Does anyone have any insight on this?
>
> -Dan
>
> ___
> use-livecode mailing list
> use-livecode@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@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


LiveCode access to mpnowplayinginfocenter?

2022-07-26 Thread Dan Friedman via use-livecode
On iOS, a song playing in the native player can be controlled in the Control 
Center.  However, it doesn't display the song name, or artwork or other 
details.  Looks like LC needs to access mpnowplayinginfocenter.  Is this 
possible?   Anyone know anything about this?

-Dan

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Android Player Object in Background

2022-07-26 Thread Dan Friedman via use-livecode
I have a music playing app that uses the native player object to play music.  
When in the background, iOS allows control of the playing song in the Control 
Center.  This not function this way on Android.  There is a 
androidStartAudioPlayingInBackground command, but that plays a supplied url, 
not from the player object.   Does anyone have any insight on this?

-Dan

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Signing and Uploading apps to the Mac App Store HELL!

2022-07-09 Thread Dan Friedman via use-livecode
Greetings!  I am pulling out my hair in getting my app prepared for the MacApp 
Store (and for downloading from my website).  I can't take it anymore!!   Is 
there someone here I can pay to either do this for me, or walk me through this 
hideous process?

-Dan

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Audio in Background

2022-06-27 Thread Dan Friedman via use-livecode
Panos,

Just wanted you to know that adding “iphoneEnableRemoteControl” did the trick!  
 The app received the “remoteControlReceived” message and was able to act on 
that message even in the background.  Sweet!

Thank you!

Dan Friedman
CEO, ClearVision Technologies, LLC
Voice: 909/484-2052
http://www.clearvisiontech.com


From: panagiotis m 
Date: Monday, June 27, 2022 at 10:25 AM
To: How to use LiveCode 
Cc: Dan Friedman 
Subject: Re: Audio in Background

Hello Dan

In fact this feature might be supported already.

If you have a look at the dictionary, there is the "iphoneEnableRemoteControl" 
command.

This is to enable remote control. Then, you can use "setRemoteControlDisplay" 
to update the metadata and such.

Then, you get "remoteControlReceived" events when the buttons in the remote 
control are pressed.

(remote control is the thingy in the Control Center)

Note that this code has not been tested recently. I'll have a play tomorrow and 
see if it still works.

Kind regards,
Panos

On Mon, 27 Jun 2022 at 19:25, Dan Friedman 
mailto:d...@clearvisiontech.com>> wrote:
Panos,

Thank you...  That fixed it!  The audio continues when the app is sent to the 
background.   However, the application's audio does not appear in the Control 
Center:

https://www.imore.com/sites/imore.com/files/styles/xlarge/public/field/image/2017/10/ios-11-control-center-view-now-playing-screens-01.jpeg

Is this possible?


-Dan


On 6/27/22, 8:49 AM, "use-livecode on behalf of panagiotis m via use-livecode" 
mailto:use-livecode-boun...@lists.runrev.com>
 on behalf of 
use-livecode@lists.runrev.com<mailto:use-livecode@lists.runrev.com>> wrote:

Hello Dan,

On iOS, I think you have to add this line in your openStack handler (or
elsewhere):

iphoneSetAudioCategory "playback"

Kind regards,
    Panos
--

On Mon, 27 Jun 2022 at 18:29, Dan Friedman via use-livecode <
use-livecode@lists.runrev.com<mailto:use-livecode@lists.runrev.com>> wrote:

> Happy Monday!   I am using the native player control (on both iOS and
> Android).  It's working quite well!   The only problem I have is that the
> background audio doesn't seem to honor this control.  If I play audio in a
> native browser, it works.   Is there something I need to set or do to get
> it to work?   I have "Android Background Audio" selected in application
> settings and "Background Audio" checked in the "Requirements" panel.
>
> Thanks in advance!
> -Dan
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com<mailto:use-livecode@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@lists.runrev.com<mailto:use-livecode@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Audio in Background

2022-06-27 Thread Dan Friedman via use-livecode
Panos,

Thank you...  That fixed it!  The audio continues when the app is sent to the 
background.   However, the application's audio does not appear in the Control 
Center:

https://www.imore.com/sites/imore.com/files/styles/xlarge/public/field/image/2017/10/ios-11-control-center-view-now-playing-screens-01.jpeg

Is this possible?


-Dan
 

On 6/27/22, 8:49 AM, "use-livecode on behalf of panagiotis m via use-livecode" 
 wrote:

Hello Dan,

On iOS, I think you have to add this line in your openStack handler (or
elsewhere):

iphoneSetAudioCategory "playback"

Kind regards,
Panos
--

On Mon, 27 Jun 2022 at 18:29, Dan Friedman via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Happy Monday!   I am using the native player control (on both iOS and
> Android).  It's working quite well!   The only problem I have is that the
> background audio doesn't seem to honor this control.  If I play audio in a
> native browser, it works.   Is there something I need to set or do to get
> it to work?   I have "Android Background Audio" selected in application
> settings and "Background Audio" checked in the "Requirements" panel.
>
> Thanks in advance!
> -Dan
>
> ___
> use-livecode mailing list
> use-livecode@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@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Audio in Background

2022-06-27 Thread Dan Friedman via use-livecode
Happy Monday!   I am using the native player control (on both iOS and Android). 
 It's working quite well!   The only problem I have is that the background 
audio doesn't seem to honor this control.  If I play audio in a native browser, 
it works.   Is there something I need to set or do to get it to work?   I have 
"Android Background Audio" selected in application settings and "Background 
Audio" checked in the "Requirements" panel.

Thanks in advance!
-Dan

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Audio Control on Mobile?

2022-05-15 Thread Dan Friedman via use-livecode
Alan,

Thank you for the info.  I know of the mobileSound items... but, it doesn't 
have all the commands we need.  For example, there is no method to start (or 
change) the sounds play position, or poll the sound for the current position.

My client wants to make a music playing app.  Need to replicate a music 
player... so, we need to keep our [custom] transport in sync with the sound.  
Stop, Start, Pause, Scrub, update current time and time remaining, etc.  EASY 
on desktop, can't seem to do this on mobile with LiveCode.

-Dan
 

On 5/15/22, 5:12 AM, "Alan Stenhouse"  wrote:

Hi Dan,

Check out mobilePlaySoundOnChannel in the dictionary and the related 
commands linked to it.

Don't think there's a player command for mobile, though I may have missed 
it...!

HTH

cheers,

Alan 

> On 15 May 2022, at 1:30 am, use-livecode-requ...@lists.runrev.com wrote:
> 
> Date: Fri, 13 May 2022 19:40:11 +
> From: Dan Friedman 
> To: How to use LiveCode 
> Subject: Audio Control on Mobile?
> Message-ID: <395fac0d-aca3-463e-ab3a-b932d222c...@clearvisiontech.com>
> Content-Type: text/plain; charset="utf-8"
> 
> Hello!   On desktop, there is the player object which is great!   
However, it doesn't work on Mobile.  Is there a way to deal with an audio file 
on mobile (Android and iOS)?   Here's what I need to do:
> 
> - Load an audio file from a server
> - Play the file
> - Pause file
> - Set the cursor (where to play from or jump to)
> - Know when the end of file is reached
> - length of audio file
> - current play position
> - file state (isPlaying or isPaused)
> 
> Thank you in advance!
> 
> -Dan


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Audio Control on Mobile?

2022-05-13 Thread Dan Friedman via use-livecode
Hello!   On desktop, there is the player object which is great!   However, it 
doesn't work on Mobile.  Is there a way to deal with an audio file on mobile 
(Android and iOS)?   Here's what I need to do:

- Load an audio file from a server
- Play the file
- Pause file
- Set the cursor (where to play from or jump to)
- Know when the end of file is reached
- length of audio file
- current play position
- file state (isPlaying or isPaused)

Thank you in advance!

-Dan

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Signing With Apple on iOS Woes

2022-03-28 Thread Dan Friedman via use-livecode
I am trying to user a browser widget to do a login with Apple.  When I load my 
page (that redirects to apple with the appropriate keys) on my desktop (in the 
IDE) it works perfect!   When I load the URL in the iOS Simulator, I get a 
browserDocumentLoadFailed message and the error is "navigation request 
cancelled" and then the page loads and seems to respond correctly.  However, on 
a actual iPhone, we get the browserDocumentLoadFailed with the error "The 
operation couldn't be completed. (NSUELErrorDomain error -999).

Anyone have any advice on this issue?

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Emojis in Text

2022-03-18 Thread Dan Friedman via use-livecode
I can't be the first to bring this up, so sorry if this has been asked 
already...

Is there a current solution for Emojis in text?  On a mobile device, in a 
native field, a user enters a emoji (no method to stop them that I can find).  
I save that text somewhere like a database.  When I load it back (into a LC 
field for display), it appears as a question mark.   What up?   Anyone have 
knowledge on this topic?   Is there a useEmojis property I don't know about?

-Dan

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Sign In with Apple and Google

2022-03-07 Thread Dan Friedman via use-livecode
Hey all... does anyone have a method to do user sign-ins with Apple and Google 
(on iOS AND Android)?  I know we could do it in a webpage, but wondered if 
there was a plug-in or better method to handle it.   Any advice on this?

Thanks in advance,
-Dan

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Into the future

2022-02-28 Thread Dan Friedman via use-livecode
" I think LC should have this facility built into the standalone builder "
Couldn't agree more!!   This should "just work" in LiveCode.

-Dan



On 2/28/22, 10:39 AM, "use-livecode on behalf of General 2018 via 
use-livecode"  wrote:

Just had the same pain.

mrSignNotarizeHelperV3 was great and sorted all the MacOS command line 
stuff with ease ( I think LC should have this facility built into the 
standalone builder)

The Apple side of things unfortunately are what they are.

Regards
Camm

> On 28 Feb 2022, at 18:20, Bob Sneidar via use-livecode 
 wrote:
> 
> I understand that perfectly. I am not blaming the LC people, but the net 
effect is what it is. I *would* like to see the option for NOT codesigning 
apps, so that the choice can be left up to us, but I suspect that with OS 11, 
the option to run non-codesigned apps has already been deprecated. 
> 
> Bob S
> 
> 
>> On Feb 28, 2022, at 09:51 , Paul Dupuis via use-livecode 
 wrote:
>> 
>> It isn't really a LiveCode ting. This is Apple placing these 
requirements on their developers no matter what language you write code in for 
the macOS.
>> 
>>> On 2/28/2022 12:43 PM, Bob Sneidar via use-livecode wrote:
>>> I guess the question now becomes, what is the last Livecode app that 
can create standalones without requiring these certificates? I may need to 
plant my flag there and go no further.
>>> 
>>> Bob S
>>> 
>>> 
 On Feb 28, 2022, at 09:36 , Bob Sneidar via use-livecode 
 wrote:
 
 It occurs to me that this may drive a lot of hobbyist Livecoders away, 
and discourage others from coming onboard. There ought to be some kind of 
disclaimer on the website, since it is a paid product only now. I'd be a bit 
miffed if I bought an application for developing new apps and didn't know that 
there would be more cash outlay required before it would work.
 
 Bob S
 
 
> On Feb 28, 2022, at 09:25 , Paul Dupuis via use-livecode 
 wrote:
> 
> No, you really have to go through all of that. The few helper stacks 
out there are just front ends (using the shell command to call command line 
utilities from xcode) that make it easier once you have everything set up.
> 
> Yes, it sucks.
> 
> 
> On 2/28/2022 12:18 PM, Bob Sneidar via use-livecode wrote:
>> Okay, so I am at the point that I cannot build apps without 
codesigning and notarizing. Livecode will throw an error now if I try and don't 
have these certificates installed. Great.
>> 
>> So I have been going through the tutorial, and I see I have to be an 
Apple Developer, which means I have to shell out yet another $100 per year. 
Fine, I did that, even though my app is for internal consumption only.
>> 
>> Now It appears that for me to get the certificates needed to create 
a Mac standalone, I need xCode! Okay, I go to download xCode, and it will not 
install because my MacOS is too old! 10.15.1 is apparently ancient! So I am at 
the point now where I am asking myself, is this really worth it? After all the 
back and forth on the list where people's certificates expire, or the version 
of xCode they are forced to use isn't compatible with one thing or another, is 
building Mac standalones really worth it?
>> 
>> So my question is, do I really have to go through all this just to 
create a Mac standalone from livecode? Or do these other utilities, 
mrSignNotarizeHelperV3 for example, eliminate the need for all of that?
>> 
>> Bob S
>> 
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@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@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@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@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 maili

Re: Loading a LONG list with images

2022-02-22 Thread Dan Friedman via use-livecode
Tom,

Ok... I finally figured out the setting of dgNumberOfRecords and adding a 
GetDataForLine command.  So, the data is now loading. And, I am doing the check 
in FillInData to see if the image is loaded or not.  If it's not, I call 
getAndCachePreview with in turn does the download of the image.  The question 
is, when the download is complete where and how are you sending the message to 
refresh the row now that we have the image?

Thank you!
Dan 


On 2/21/22, 3:51 PM, "use-livecode on behalf of Tom Glod via use-livecode" 
 wrote:

notice the use of send "" in 0 milliseconds...

This ensures that the rendering of the grid does not get held up by the
download.  so the download happens in the background.


On Mon, Feb 21, 2022 at 6:47 PM Tom Glod  wrote:

> This is how i did it .  I hope this helps.
>
> First to use the "numberofrecords" way of setting the datagrid data.
> This is key, that way you only ever trigger loading of visible rows.
>
> This is the code from my dg column.
>
> global PixabayResults
>
>
>   if PixabayResults["cache"]["DL:" & PixabayResults["data"][the
> dgindex of me]["previewURL"]] is empty then
>  send "GetImageTrigger " & the dgindex of me & comma & quote &
> PixabayResults["data"][the dgindex of me]["previewURL"] & quote & comma &
> random(25500) to card "Search Pixabay"
>  put image id 1410033 of card "Resources" into image 1 of me --
> 14110033 image id is the placeholder.
>  set the visible of image 1 of me to true
>  set the MyIndex of me to empty
>  //set the visible of group "Image Tools" of me to false
>   else
>  put PixabayResults["cache"]["DL:" & PixabayResults["data"][the
> dgindex of me]["previewURL"]] into image 1 of me
>  set the visible of image 1 of me to true
>  set the MyIndex of me to the dgIndex of me
>  delete global PixabayResults["downloaded"][the dgIndex of me] --
> delete the flag to update this row because its a visible row with newly
> downloaded file
>  //set the visible of group "Image Tools" of me to false
>   end if
>
>
> on GetImageTrigger ThisIndex,ThisURL,ThisRandom
>send "GetAndCachePreviewImage " & ThisIndex & comma & quote & ThisURL &
> quote & comma & random(25500) to card "Search Pixabay" in 0 milliseconds
> end GetImageTrigger
>
> on GetAndCachePreviewImage ThisIndex,ThisURL,ThisRandomNumber
>Task_Scheduler_Add "Download File To Variable","DL:" &
> ThisURL,ThisURL,"" -- this schedules TSNET request to download image then
> waits for the image to download
>
>wait until AppStarterStackTaskScheduler["finished"]["DL:" & ThisURL] is
> not empty with messages -- wait with messages until its finished
>
>if AppStarterStackTaskScheduler["finished"]["DL:" & ThisURL] is "error"
> then
>   throw "Thumbnail Download Failed:" & ThisURL
>else
>   put AppStarterStackTaskScheduler["data"]["DL:" & ThisURL]["data"]
> into PixabayResults["cache"]["DL:" & ThisURL]
    >   put 1 into PixabayResults["downloaded"][ThisIndex]
>   delete variable AppStarterStackTaskScheduler["data"]["DL:" &
> ThisURL]["data"]
>end if
> end GetAndCachePreviewImage
>
>
>
>
>
>
>
>
>
>
> On Mon, Feb 21, 2022 at 6:20 PM Tom Glod  wrote:
>
>> Dan can you check this video and the pixabay search example?
>> https://youtu.be/jN2bQbhQ0L8?t=216
>> Is this what you have in mind?
>> These images are loaded as the row comes into view.
>>
>> On Mon, Feb 21, 2022 at 6:07 PM Dan Friedman via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>>
>>> Richard,
>>>
>>> Probably not over a couple thousand.  The images are square -- they need
>>> to be resized to the DG template image size, but not scaled (H vs W).
>>>
>>> -Dan
>>>
>>>
>>> On 2/21/22, 12:14 PM, "use-livecode on behalf of Richard Gask

Re: Loading a LONG list with images

2022-02-22 Thread Dan Friedman via use-livecode
Mark,

>> i.e. make sure the datagrid is only creating rows on demand, rather than 
>> up front, and then requesting images and updating them when they arrive

How do you do that?  What property do I set, or method is used to only load the 
displayed rows?

Tom's code snippet is a WONDERFUL start and I get the concept, but there are a 
bunch of missing parts that I'm not sure how (or where) to code.   Also, I 
don't know if it really matters or not, but Tom sent the code from his dg 
column, I am using a form DG.

-Dan
 

On 2/22/22, 12:51 AM, "use-livecode on behalf of Mark Waddingham via 
use-livecode"  wrote:

On 2022-02-21 23:47, Tom Glod via use-livecode wrote:
> This is how i did it .  I hope this helps.
> 
> First to use the "numberofrecords" way of setting the datagrid data.
> This is key, that way you only ever trigger loading of visible rows.

So I've not got much to add to Tom's method

i.e. make sure the datagrid is only creating rows on demand, rather than 
up front, and then requesting images and updating them when they arrive

Beyond a suggestion to ensure the images which are being downloaded are 
already suitably sized/thumbnailed for display.

Decompressing images is a relatively expensive operation - decompressing 
and then downsizing them (thumbnailing) even more so.

So, if you control the webservice that is providing the images it would 
probably be worth making it so that the server can send you images at 
the size needed and do the thumbnailing on the server (caching the 
results alongside the original image on the server).

For maximum fidelity you want the width/height * the device pixel scale 
(which can vary from 1 to 3 these days).

Warmest Regards,

Mark.

-- 
Mark Waddingham ~ m...@livecode.com ~ http://www.livecode.com/
LiveCode: Everyone can create apps

___
use-livecode mailing list
use-livecode@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Loading a LONG list with images

2022-02-21 Thread Dan Friedman via use-livecode
Tom,

Yes, assuming that is a DG in your video, that's just what I'm looking to do!   

-Dan


On 2/21/22, 3:22 PM, "use-livecode on behalf of Tom Glod via use-livecode" 
 wrote:

Dan can you check this video and the pixabay search example?
https://youtu.be/jN2bQbhQ0L8?t=216
Is this what you have in mind?
These images are loaded as the row comes into view.

On Mon, Feb 21, 2022 at 6:07 PM Dan Friedman via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Richard,
>
> Probably not over a couple thousand.  The images are square -- they need
> to be resized to the DG template image size, but not scaled (H vs W).
>
> -Dan
>
>
> On 2/21/22, 12:14 PM, "use-livecode on behalf of Richard Gaskin via
> use-livecode"  use-livecode@lists.runrev.com> wrote:
>
> How many images?
>
> I once made a solution for 3,000 images, but it may not scale well
> above
> 8,000 or so depending on memory and connection speed.
>
> --
>   Richard Gaskin
>   Fourth World Systems
>
>
>
>
> Dan Friedman wrote:
>
>  > Does anyone have any answers to the issue of loading a long list
> with
>  > images so that it loads images "as needed" like a webpage does.
>  >
>  > I have a DataGrid with several hundred rows.  Each row has a
> specific
>  > image that is to be displayed with that row (like a list of songs).
>  > The image is loaded from the web.   Is there a method to load the
>  > DataGrid and only load the images for the rows that are shown?
>  And,
>  > when you scroll the grid, the images for the newly shown rows are
> then
>  > loaded.  The loading need to happen somehow without halting the
>  > scrolling or making it stutter.
>  >
>  > I hope that makes sense!
>  > -Dan
>
>
>
> ___
> use-livecode mailing list
> use-livecode@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@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@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Loading a LONG list with images

2022-02-21 Thread Dan Friedman via use-livecode
Richard,

Probably not over a couple thousand.  The images are square -- they need to be 
resized to the DG template image size, but not scaled (H vs W).

-Dan
 

On 2/21/22, 12:14 PM, "use-livecode on behalf of Richard Gaskin via 
use-livecode"  wrote:

How many images?

I once made a solution for 3,000 images, but it may not scale well above 
8,000 or so depending on memory and connection speed.

-- 
  Richard Gaskin
  Fourth World Systems




Dan Friedman wrote:

 > Does anyone have any answers to the issue of loading a long list with
 > images so that it loads images "as needed" like a webpage does.
 >
 > I have a DataGrid with several hundred rows.  Each row has a specific
 > image that is to be displayed with that row (like a list of songs).
 > The image is loaded from the web.   Is there a method to load the
 > DataGrid and only load the images for the rows that are shown?   And,
 > when you scroll the grid, the images for the newly shown rows are then
 > loaded.  The loading need to happen somehow without halting the
 > scrolling or making it stutter.
 >
 > I hope that makes sense!
 > -Dan



___
use-livecode mailing list
use-livecode@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Loading a LONG list with images

2022-02-21 Thread Dan Friedman via use-livecode
Does anyone have any answers to the issue of loading a long list with images so 
that it loads images "as needed" like a webpage does.

I have a DataGrid with several hundred rows.  Each row has a specific image 
that is to be displayed with that row (like a list of songs).  The image is 
loaded from the web.   Is there a method to load the DataGrid and only load the 
images for the rows that are shown?   And, when you scroll the grid, the images 
for the newly shown rows are then loaded.  The loading need to happen somehow 
without halting the scrolling or making it stutter. 

I hope that makes sense!
-Dan

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: browserDocumentLoadComplete

2022-02-16 Thread Dan Friedman via use-livecode
Panos,

Glad to hear this will get resolved in the next release.  I hope that the 
Android "pan" issue (https://quality.livecode.com/show_bug.cgi?id=23245) and 
others like it also get resolved.  These are quite critical to everyday life on 
mobile.

FYI... I found a work-around for the browserDocumentLoadComplete issue... I 
simply save the data to a local file and load the file as the URL.  Problem 
solved.

-Dan
 

On 2/16/22, 7:46 AM, "use-livecode on behalf of panagiotis m via use-livecode" 
 wrote:

Hello again :)

Correction: We do have a patch for this issue, but it needs refined to make
sure the new behavior is 'correct'/'better' than the current behavior, so
it might not make it into 10.0.0 DP-2.

But it is in our TODO list for LC 10.

Kind regards,
Panos
--

On Wed, 16 Feb 2022 at 17:36, panagiotis m  wrote:

> Hello all,
>
> Hopefully this will be fixed in the upcoming release of LC 10.0.0 DP-2
>
> (https://quality.livecode.com/show_bug.cgi?id=21599)
>
> Kind regards,
> Panos
> --
>
> On Wed, 16 Feb 2022 at 12:04, hakan--- via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
>> Maybe you could do a js callback on document loaded
>>
>> 
>> window.onload = (event) =>
>>  {
>> livecode.jscallback('The page has fully loaded’);
>> );
>> 
>>
>> :-Håkan
>> > 15 feb. 2022 kl. 00:08 skrev Tom Glod via use-livecode <
>> use-livecode@lists.runrev.com>:
>> >
>> > Hi Dan, I reported that bug a couple months back, it was confirmed and
>> > accepted, so its on the list to be fixed.  I know there is work on the
>> > browser being done, so one would assume.
>> > You will find it will work sometimes, but mostly not.
>> > I don't think there is much we can do, I would love to learn of a
>> > workaround also, but I don't see how.
>> >
>> > On Mon, Feb 14, 2022 at 5:58 PM Dan Friedman via use-livecode <
>> > use-livecode@lists.runrev.com> wrote:
>> >
>> >> Greetings!  I am loading a browser widget by setting the htmlText of
>> the
>> >> widget to some html code.  This is working fine!   However, how can I
>> >> determine when the page is done loading?   The
>> browserDocumentLoadComplete
>> >> message isn't being sent?   Nor is browserNavigateComplete.   Any
>> ideas?
>> >>
>> >> -Dan
>> >>
>> >> ___
>> >> use-livecode mailing list
>> >> use-livecode@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@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@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@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


browserDocumentLoadComplete

2022-02-14 Thread Dan Friedman via use-livecode
Greetings!  I am loading a browser widget by setting the htmlText of the widget 
to some html code.  This is working fine!   However, how can I determine when 
the page is done loading?   The browserDocumentLoadComplete message isn't being 
sent?   Nor is browserNavigateComplete.   Any ideas?

-Dan

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Video Chat?

2022-01-10 Thread Dan Friedman via use-livecode
Tom,

I just tried using whereby (via a php page we created) in LiveCode (the IDE) 
and its stuck on "Loading camera and audio...".   I've tried both the browser 
widget and the revBrowserOpen() method.  What versions of LC are you using?   
I'm on 9.6.5.  Do you have a sample stack that is working for you?

FWIW, the php page we made works perfectly is a browser on desktop and mobile.

-Dan
 

On 1/7/22, 9:15 AM, "use-livecode on behalf of Tom Glod via use-livecode" 
 wrote:

Yes, since recently, you can use webrtc chat inside the browser.  It picks
up the camera and mic.  I tested a couple of them and they seemed to work
fine.  whereby.com is a good one to try

On Fri, Jan 7, 2022 at 12:05 PM Dan Friedman via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Does anyone know if it's possible to do a live Video Chat in a LC
> project/app?
>
> -Dan
>
> ___
> use-livecode mailing list
> use-livecode@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@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Video Chat?

2022-01-07 Thread Dan Friedman via use-livecode
Does anyone know if it's possible to do a live Video Chat in a LC project/app?

-Dan

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: LC 9.5.6, Android and JSONToArray

2021-12-06 Thread Dan Friedman via use-livecode
Panos,

Thank you for the reply.  Sorry about the typo... the versions are:

9.6.4 -- WORKING
9.6.5 -- NOT WORKING

And, yes.  I have "mergJSON" selected (as well as "JSON Library").

FYI... I only updated to 9.6.5 because Jacqueline mentioned bug 23245 might be 
resolved in 9.6.5.  
(http://lists.runrev.com/pipermail/use-livecode/2021-October/265900.html)


- Dan

 

On 12/6/21, 3:09 AM, "use-livecode on behalf of panagiotis m via use-livecode" 
 wrote:

Hello Dan,

Could you please confirm the working and non-working versions? There is no
9.5.6 or 9.5.4 version of LiveCode.

Also, to use JSONToArray() you have to include "mergJSON" in the
Inclusions, not  "JSON Library". The  "JSON Library" is needed for
"JSONImport" and "JSONExport" functions.

    Hope this helps.

Cheers,
Panos

On Mon, 6 Dec 2021 at 01:07, Dan Friedman via use-livecode <
use-livecode@lists.runrev.com> wrote:

> I just built an app for Android in 9.5.6.  I am finding that JSONToArray()
> isn't working.   I built the same app in 9.5.4, and JSONToArray() works
> just fine.  (Yes, I have "JSON Library" selected in the Inclusions in the
> Standalone Application Settings).   Is this a bug or is JSONToArray() no
> longer supported in 9.5.6?
>
> Any advice or knowledge would be appreciated.
>
> -Dan
>
> ___
> use-livecode mailing list
> use-livecode@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@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


LC 9.5.6, Android and JSONToArray

2021-12-05 Thread Dan Friedman via use-livecode
I just built an app for Android in 9.5.6.  I am finding that JSONToArray() 
isn't working.   I built the same app in 9.5.4, and JSONToArray() works just 
fine.  (Yes, I have "JSON Library" selected in the Inclusions in the Standalone 
Application Settings).   Is this a bug or is JSONToArray() no longer supported 
in 9.5.6?

Any advice or knowledge would be appreciated.

-Dan

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


DataGrid Edit Mode and Fixed Control Height

2021-11-07 Thread Dan Friedman via use-livecode
So, using the edit mode of a data grid is great!   When enabled, I can drag the 
hamburger icon to reoder the rows... easy!   But, if I set the "fixed control 
height" of the data grid to false, the hamburger icon no longer appears!  Same 
with the select icon for each row.   I have messed with the properties and code 
and can't seem to figure out how to get the draggable icon to appear when 
"fixed control height" is false.   Anyone know the solution or is this a 
limitation of the data grid?

Thanks in advance,
-Dan

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Count Up Timer?

2021-11-01 Thread Dan Friedman via use-livecode
Anyone ever done a count up timer?   For example, if we supply the seconds of 
1605553200, we want to display the number of years, months, days, hours, 
minutes and seconds since that time.   For example, "How long have you been 
alive?".   This needs to be precise – need to account for leap years, days in 
month, etc.

Save me!!   :)

-Dan

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Custom URLs

2021-09-02 Thread Dan Friedman via use-livecode
Sean,

Thank you!   But, these solutions require that the Custom URL is added to the 
app at deployment.  Not going to work for my client.   I was looking to get an 
understanding as to why these URLs need to be in the pList.  Not sure of the 
reasoning behind this... I need to be able to explain to client why I can't 
deliver their desired functionalty. 

Thank you!
-Dan


On 9/1/21, 2:34 PM, "use-livecode on behalf of Sean Cole (Pi) via 
use-livecode"  wrote:

Dan,
These will be useful to you:

https://stackoverflow.com/questions/21893447/facebook-sdk-app-not-registered-as-a-url-scheme
https://github.com/facebookarchive/react-native-fbsdk/issues/707

Pi

On Wed, 1 Sept 2021 at 18:38, David Bovill via use-livecode <
use-livecode@lists.runrev.com> wrote:

> I don’t know Dan as its been a while since I looked into this - but it
> sounds like a typical security thing Apple insists on for the AppStore?
> They tend (when compared to Android), to lock that sort of thing down save
> for a few standard (internet) url schema.
>
> 📆Schedule a call with me
> On 1 Sep 2021, 18:05 +0100, Dan Friedman via use-livecode <
> use-livecode@lists.runrev.com>, wrote:
> > I need a little help here...
> >
> > I am creating a mobile app for a client that wants to simply launch
> another app. To do this, I am trying to use a custom url to launch an
> external app. For example:
> >
> > launch url "fb:"
> >
> > This works fine on Android, but on iOS, I get "no association" (yes,
> Facebook is installed). Then I read that you have to enter the Custom URLs
> you want to use in the "App URL Query Whitelist" area in the Application
> Builder. Is this true? Why does the app have to know at compile time what
> URLs are going to be opened? In my app's case, client can change and edit
> the list on a server, so the list of apps to launch are received by the 
our
> app at launch.
> >
> > "mailto:";, "http:", "music:" and "tel:" all work just fine on iOS
> without being included in the App URL Query Whitelist.
> >
> > Anyone have any insight to this process?
> >
> > Thanks in advance!
> > -Dan
> >
> > ___
> > use-livecode mailing list
> > use-livecode@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@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@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Custom URLs

2021-09-02 Thread Dan Friedman via use-livecode
Keith,

Thanks for the assist... In some cases a http call will open the mobile app if 
it's installed.  For example, https://m.facebook.com will launch the mobile 
app.  However, now with further testing, I have a new problem.  On android, if 
the app isn't installed it's not returning "no association".  The result is 
empty.  Must be a bug!  I'm using LC Business 9.6.2

Thank you!
-Dan
 

On 9/1/21, 10:36 AM, "use-livecode on behalf of Keith Martin via use-livecode" 
 wrote:

Only one thought: the protocols that do work on iOS are general 
declarations that are routed to an app/service as the host OS thinks is 
appropriate. Less common ones and app-specific ones do have to be registered... 
in the app that wants to be able RECEIVE them. So if the FB app doesn’t have 
that set up already it seems it can’t be done.


https://developer.apple.com/documentation/xcode/defining-a-custom-url-scheme-for-your-app
 
<https://developer.apple.com/documentation/xcode/defining-a-custom-url-scheme-for-your-app>

Would it work well enough to use a regular https URL to the resource on 
Facebook? It would open in the user’s browser, but it may be enough.

k


    > On 1 Sep 2021, at 18:04, Dan Friedman via use-livecode 
 wrote:
> 
> I need a little help here...
> 
> I am creating a mobile app for a client that wants to simply launch 
another app.  To do this, I am trying to use a custom url to launch an external 
app.  For example:
> 
> launch url "fb:"
> 
> This works fine on Android, but on iOS, I get "no association" (yes, 
Facebook is installed).  Then I read that you have to enter the Custom URLs you 
want to use in the "App URL Query Whitelist" area in the Application Builder.   
Is this true?   Why does the app have to know at compile time what URLs are 
going to be opened?  In my app's case, client can change and edit the list on a 
server, so the list of apps to launch are received by the our app at launch.
> 
> "mailto:";, "http:", "music:" and "tel:" all work just fine on iOS without 
being included in the App URL Query Whitelist.
> 
> Anyone have any insight to this process?
> 
> Thanks in advance!
> -Dan
> 
> ___
> use-livecode mailing list
> use-livecode@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@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Custom URLs

2021-09-01 Thread Dan Friedman via use-livecode
I need a little help here...

I am creating a mobile app for a client that wants to simply launch another 
app.  To do this, I am trying to use a custom url to launch an external app.  
For example:

launch url "fb:"

This works fine on Android, but on iOS, I get "no association" (yes, Facebook 
is installed).  Then I read that you have to enter the Custom URLs you want to 
use in the "App URL Query Whitelist" area in the Application Builder.   Is this 
true?   Why does the app have to know at compile time what URLs are going to be 
opened?  In my app's case, client can change and edit the list on a server, so 
the list of apps to launch are received by the our app at launch.

"mailto:";, "http:", "music:" and "tel:" all work just fine on iOS without being 
included in the App URL Query Whitelist.

Anyone have any insight to this process?

Thanks in advance!
-Dan

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Ask Command on Android

2021-07-01 Thread Dan Friedman via use-livecode
Greetings!   When I run the ask command on a iOS device, the dialog appears, 
the soft keyboard appears and you can begin typing.   However, on a Android 
device, the dialog appears but the keyboard doesn't not immediately open.   You 
have to tap into the text area of the ask dialog to open the keyboard so you 
can type.Is there a way to get the keyboard to appear immediately like it 
does on iOS?

Thanks in advance,
-Dan

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Missing Private Key Woes

2021-06-16 Thread Dan Friedman via use-livecode
I am reaching out for some assistance while I have 1 hair left in my head!   
Can't build standalone for iOS in LC... get this message:  "There was an error 
while saving the standalone application - could not find a valid identity to 
use for the selected profile."

I look in XCode > Preferences > Accounts and I see the Signing certificate says 
"Missing Private Key".   Is this the issue?  Does anyone have any advice on 
this?

With much gratitude,
-Dan

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


What happened to mobilePickDate ??

2021-06-15 Thread Dan Friedman via use-livecode
Has anyone tried mobilePickDate in LC 9.6.2?   On both a phone and tablet, you 
don't get a picker!   It popups a dialog that contains the date (or time).  
Then you have to tap the date/time and then you get the most tiny date (or 
time) editor.  Is this the new Apple Guidline for picking a date/time??   Can't 
be!   This must be a bug.   And, on an iPhone, it's so far to the bottom of the 
screen, it's barely usable!Anyone have any insight on this?

-Dan

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: iOS screen size

2021-05-21 Thread Dan Friedman via use-livecode
Panos,

Yup.  That's exactly what it was.   Thanks!

-Dan
 

On 5/21/21, 1:23 AM, "use-livecode on behalf of panagiotis merakos via 
use-livecode"  wrote:

Hello Dan,

Rough guess, are you including a custom plist? If so, then this plist was
probably created by an older LC version, before storyboard support was
added. If this is the case, the (old) plist expects some splash images,
which are not in the app bundle, thus you see the black bars.

Kind regards,
Panos
--

On Fri, 21 May 2021 at 11:16, Mark Smith via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Hi Dan,
>
> did you try fullscreen set to “ShowAll”?
>
> Also,I set the background color of my splash to a color that matched the
> background of my splash screen image so now it “appears” to cover the full
> screen of all device sizes.
>
> Mark
    >
>
    > > On May 20, 2021, at 9:22 PM, Dan Friedman via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > Stupid Question (I should know this!)...   Why in my iOS app not scaled
> to the device?   I am getting black bars at the top and bottom of the
> device.   I thought this once had to do with the splash screens, but
> changing the "Launch Image" doesn't seem to have any effect.  I don't
> recall having to set fullscreenmode, but that seems to have no effect
> either.
> >
> > LC 9.6.1
> > XCode 11.3.1
> >
> > -Dan
> >
> > ___
> > use-livecode mailing list
> > use-livecode@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@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@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


  1   2   3   >