Re: Google Play SDK problem

2020-07-30 Thread J. Landman Gay via use-livecode
I've never seen that. Did you accidentally tick the ads checkbox in 
standalone settings?


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On July 30, 2020 12:29:00 AM scott--- via use-livecode 
 wrote:


I have an app (Windows, Mac, iOS and Android… thank you LC!) that is aimed 
at children. It does not contain advertising. I recently submitted an 
update to Google Play and although it was accepted into the store a few 
weeks ago, today I received the notice below. I am suspicious that this is 
not currently addressed by LC. Has anyone else encountered this and if so 
how was it solved?


—
— from Google Play—
—
Hi Developers at Elementary Software,	After a recent review, we found that 
your app Terrific Triangle (com.elementarysoftware.terrifictriangle) is not 
compliant with one or more of our Developer Program Policies. Please 
resolve the issue within 30 days of the issuance of this notification or 
your app will be removed from Google Play.


Issue with your app
We have detected that your app includes non-certified ad SDKs or SDKs that 
are not approved for use in child-directed services.


About the Families Policy Requirements
Any SDKs used in the app must be appropriate for use in child-directed 
services. Additionally, apps that solely target children must not contain 
any SDKs that are not approved for use in child-directed services, 
including ads SDKs. Apps in the Designed for Families program must only use 
ad SDKs that have certified their compliance with the Families Ads Program 
.

—


Scott Morrow

Elementary Software
(Now with 20% less chalk dust!)
web   https://elementarysoftware.com/
email sc...@elementarysoftware.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


Re: [ANN] Release 9.6.1 RC-1

2020-07-30 Thread Jim Lambert via use-livecode
LC Team,

Thanks for this release.

FYI. I noticed something I hadn’t seen before when installing earlier LC 
releases on OSX.
I was unable to mount "LiveCodeBusiness-9_6_1_rc_1-Mac.dmg” because a LC 
resource was in use.

Fix. Quit any open LCs first, then mount the dmg.

Jim Lambert
___
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: Google Play SDK problem

2020-07-30 Thread JeeJeeStudio via use-livecode
Yes, that was what i was thinking too. Else it would not get into the 
standalone.


Op 30-7-2020 om 19:18 schreef J. Landman Gay via use-livecode:
I've never seen that. Did you accidentally tick the ads checkbox in 
standalone settings?


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On July 30, 2020 12:29:00 AM scott--- via use-livecode 
 wrote:


I have an app (Windows, Mac, iOS and Android… thank you LC!) that is 
aimed at children. It does not contain advertising. I recently 
submitted an update to Google Play and although it was accepted into 
the store a few weeks ago, today I received the notice below. I am 
suspicious that this is not currently addressed by LC. Has anyone 
else encountered this and if so how was it solved?


—
— from Google Play—
—
Hi Developers at Elementary Software,    After a recent review, we 
found that your app Terrific Triangle 
(com.elementarysoftware.terrifictriangle) is not compliant with one 
or more of our Developer Program Policies. Please resolve the issue 
within 30 days of the issuance of this notification or your app will 
be removed from Google Play.


Issue with your app
We have detected that your app includes non-certified ad SDKs or SDKs 
that are not approved for use in child-directed services.


About the Families Policy Requirements
Any SDKs used in the app must be appropriate for use in 
child-directed services. Additionally, apps that solely target 
children must not contain any SDKs that are not approved for use in 
child-directed services, including ads SDKs. Apps in the Designed for 
Families program must only use ad SDKs that have certified their 
compliance with the Families Ads Program 
.

—


Scott Morrow

Elementary Software
(Now with 20% less chalk dust!)
web   https://elementarysoftware.com/
email sc...@elementarysoftware.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


Google API Oauth - refresh tokens?

2020-07-30 Thread Ben Rubinstein via use-livecode
Back in 2018 when I was originally working with Google sheets, the OAuth 
authorisation once granted seemed to refresh automatically.


That is, if a call returned the 'unauthorised' error, calling OAuth with the 
same parameters would briefly display a sheet dialog, but it would go away 
automatically.


Then I finished working on that project, and when six months I briefly looked 
at this again, fell victim to bug #22557.


Now that this is fixed, I'm happily working with the system again (and will 
shortly release my code in case it's of use to anyone) - but now when the 
authorisation expires (which is does after an hour or so), calling Oauth2 goes 
through the process requiring user activity.


There's an OAuth2Refresh command in LiveCode; but the issue is that I don't 
get a refresh token from the Google API. From my reading of the docs, only 
certain kinds of app registered with Google get refresh tokens - but I don't 
seem to be able to figure this out.


Has anyone managed to register an app with Google (in 
https://console.developers.google.com/apis/) in a way that means it gets 
refresh tokens?


___
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: Google Play SDK problem

2020-07-30 Thread scott--- via use-livecode
Thank you for your thoughts. I don’t think the ad checkbox would have been 
checked. (It isn’t checked now and since I was only vaguely aware of its 
existence, it seems unlikely I would have checked - and then unchecked it - 
accidentally.

When opening the android apk with BBEdit, I found the text below (ad checkbox 
not ticked and builds from both LC 9.6.0 and 9.6.1 (rc1) contained this 
string.)  I am not knowledgeable enough to know if this really has anything to 
do with the advertising SDK.The new "Families Policy Requirements” has a 
list of allowed ad SDKs (when targeting an app for children) so it may be that 
Google Play is now implementing an automated check for ad references and that 
something that normally got through is now triggering this alert. Does that 
sound possible? Not sure whether to submit again to Google Play or create a bug 
report.

——
+$SWITCH_TABLE$android$net$NetworkInfo$StateA$SWITCH_TABLE$com$inneractive$api$ads$InneractiveAdView$ViewState4$SwitchMap$com$amazon$inapp$purchasing$Item$ItemTypeG$SwitchMap$com$amazon$inapp$purchasing$KiwiResponseHandler$ResponseTypeM$SwitchMap$com$amazon$inapp$purchasing$PurchaseResponse$PurchaseRequestStatus[$SwitchMap$com$amazon$inapp$purchasing$PurchaseUpdatesResponse$PurchaseUpdatesRequestStatus$VALUES$assertionsDisabled
%d,%d,%d,%d%s < %d%s < %d AND NOT %s%s = 
%d&a=&cid=&eid=&g=&h=&hid=&k=&lg=&mn=&nt=3G&nt=WIFI&osudi=&po=&t=&v=&w='
 AND ' can't be consumed.',(A(%s, requestId: "%s", 
getUserIdRequestStatus: "%s", userId: "%s")U(%s, requestId: "%s", 
itemDataRequestStatus: "%s", unavailableSkus: %s, itemData: %s)M(%s, 
requestId: "%s", purchaseRequestStatus: "%s", userId: "%s", receipt: %s)Ç(%s, 
requestId: "%s", purchaseUpdatesRequestStatus: "%s", userId: "%s", receipts: 
%s, revokedSkus: %s, offset: "%s", isMore: "%b")L(%s, sku: "%s", itemType: 
"%s", subscriptionPeriod: %s, purchaseToken: "%s")`(%s, sku: "%s", price: 
"%s", itemType: "%s", title: "%s", description: "%s", smallIconUrl: "%s")$(%s, 
startDate: "%s", endDate: 
"%s")()()VD(?i)((?:http|https|file):\/\/|(?:inline|data|about|javascript):)(.*)(TTleft;TTright;)V(Z
   (decimal))") because another async operation() is in 
progress.):): IAB helper is not set up.)I)V)Z* Error: 
*.*/*,, 
, height: 
, item type: , purchase: 
, result: , since you don't own it!  , token: , type is : , 
width: , y: --1. . No token.. Request code: . Response: .0.3
.AppReceiver.fileprovider/share.jpg
.mblandroid//*/I/android_asset0002¥0:OK/-1001:Remote exception 
during initialization/-1002:Bad response received/-1003:Purchase signature 
verification failed/-1004:Send intent failed/-1005:User cancelled/-1006:Unknown 
purchase response/-1007:Missing token/-1008:Unknown error/-1009:Subscriptions 
not available/-1010:Invalid consumption attemptá0:OK/1:User 
Canceled/2:Unknown/3:Billing Unavailable/4:Item unavailable/5:Developer 
Error/6:Error/7:Item Already Owned/8:Item not owned
——

—
Scott Morrow
Elementary Software

> On Jul 30, 2020, at 11:20 AM, JeeJeeStudio via use-livecode 
>  wrote:
> 
> Yes, that was what i was thinking too. Else it would not get into the 
> standalone.
> 
> Op 30-7-2020 om 19:18 schreef J. Landman Gay via use-livecode:
>> I've never seen that. Did you accidentally tick the ads checkbox in 
>> standalone settings?
>> 
>> -- 
>> Jacqueline Landman Gay | jac...@hyperactivesw.com
>> HyperActive Software | http://www.hyperactivesw.com
>> On July 30, 2020 12:29:00 AM scott--- via use-livecode 
>>  wrote:
>> 
>>> I have an app (Windows, Mac, iOS and Android… thank you LC!) that is aimed 
>>> at children. It does not contain advertising. I recently submitted an 
>>> update to Google Play and although it was accepted into the store a few 
>>> weeks ago, today I received the notice below. I am suspicious that this is 
>>> not currently addressed by LC. Has anyone else encountered this and if so 
>>> how was it solved?
>>> 
>>> —
>>> — from Google Play—
>>> —
>>> Hi Developers at Elementary Software,After a recent review, we found 
>>> that your app Terrific Triangle (com.elementarysoftware.terrifictriangle) 
>>> is not compliant with one or more of our Developer Program Policies. Please 
>>> resolve the issue within 30 days of the issuance of this notification or 
>>> your app will be removed from Google Play.
>>> 
>>> Issue with your app
>>> We have detected that your app includes non-certified ad SDKs or SDKs that 
>>> are not approved for use in child-directed services.
>>> 
>>> About the Families Policy Requirements
>>> Any SDKs used in the app must be appropriate for use in child-directed 
>>> services. Additionally, apps that solely target children must not contain 
>>> any SDKs that are not approved for use in child-directed services, 
>>>

Re: Help me understand infinity

2020-07-30 Thread Martin Koob via use-livecode
I thought that this was already released in LC 9.0.5 
https://livecode-blogger.blogspot.com/2019/05/livecode-905-released.html

I  sure what the use case is for infinity never mind ‘beyond’.

Martin

> On Jul 29, 2020, at 1:57 PM, Richard Gaskin via use-livecode 
>  wrote:
> 
> In the v9.6.1RC1 Release Notes there's this:
> 
>   Infinity constant
>   The constant infinity has been added to the language in this release.
>   As a result, theunquoted literal infinity is now reserved. Any
>   existing uses of it should be quoted, as otherwiseit will resolve to
>   the floating point value representing infinity, rather than the
>   string "infinity".
> 
> What is the use-case prompting this?
> 
> -- 
> Richard Gaskin
> Fourth World Systems
> Software Design and Development for the Desktop, Mobile, and the Web
> 
> ambassa...@fourthworld.comhttp://www.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


Re: Google Play SDK problem

2020-07-30 Thread JeeJeeStudio via use-livecode
Well 2 things:

1. Since LC is no longer supporting ads, with which one might earn an extra
dime, they could better remove it. Maybe via lcb and an injection in the
manifest something is possible and one could choose it's own preferable ads
provider.

2. You can reply to the email from Google and then you will get an answer
which gives you a clue or leaves you with more questions.

Ok 3 things.
3. I had it once too, first my app was allowed for the family, and later
after an update it was no longer. And i got tired of it so i canceled the
lower ages and for family. And it was a simple app just telling the time an
date updated with speech. No data was pulled, no ads, no internet needed.

Kind regards,
Jerry

Op vr 31 jul. 2020 00:21 schreef scott--- via use-livecode <
use-livecode@lists.runrev.com>:

> Thank you for your thoughts. I don’t think the ad checkbox would have been
> checked. (It isn’t checked now and since I was only vaguely aware of its
> existence, it seems unlikely I would have checked - and then unchecked it -
> accidentally.
>
> When opening the android apk with BBEdit, I found the text below (ad
> checkbox not ticked and builds from both LC 9.6.0 and 9.6.1 (rc1) contained
> this string.)  I am not knowledgeable enough to know if this really has
> anything to do with the advertising SDK.The new "Families Policy
> Requirements” has a list of allowed ad SDKs (when targeting an app for
> children) so it may be that Google Play is now implementing an automated
> check for ad references and that something that normally got through is now
> triggering this alert. Does that sound possible? Not sure whether to submit
> again to Google Play or create a bug report.
>
> ——
> +$SWITCH_TABLE$android$net$NetworkInfo$State
> A$SWITCH_TABLE$com$inneractive$api$ads$InneractiveAdView$ViewState
> 4$SwitchMap$com$amazon$inapp$purchasing$Item$ItemType
> G$SwitchMap$com$amazon$inapp$purchasing$KiwiResponseHandler$ResponseType
> M$SwitchMap$com$amazon$inapp$purchasing$PurchaseResponse$PurchaseRequestStatus
> [$SwitchMap$com$amazon$inapp$purchasing$PurchaseUpdatesResponse$PurchaseUpdatesRequestStatus
> $VALUES  $assertionsDisabled  %d,%d,%d,%d  %s < %d  %s < %d AND NOT %s  %s
> = %d  &a=  &cid=  &eid=  &g=  &h=  &hid=  &k=  &lg=  &mn=  &nt=3G
> &nt=WIFI  &osudi=  &po=  &t=  &v=  &w=  ' AND   ' can't be consumed.  ',  (
> A(%s, requestId: "%s", getUserIdRequestStatus: "%s", userId: "%s") U(%s,
> requestId: "%s", itemDataRequestStatus: "%s", unavailableSkus: %s,
> itemData: %s) M(%s, requestId: "%s", purchaseRequestStatus: "%s", userId:
> "%s", receipt: %s) Ç (%s, requestId: "%s", purchaseUpdatesRequestStatus:
> "%s", userId: "%s", receipts: %s, revokedSkus: %s, offset: "%s", isMore:
> "%b") L(%s, sku: "%s", itemType: "%s", subscriptionPeriod: %s,
> purchaseToken: "%s") `(%s, sku: "%s", price: "%s", itemType: "%s", title:
> "%s", description: "%s", smallIconUrl: "%s") $(%s, startDate: "%s",
> endDate: "%s")  ()  ()V
> D(?i)((?:http|https|file):\/\/|(?:inline|data|about|javascript):)(.*)
> (TTleft;TTright;)V  (Z(decimal)  ) ") because another async
> operation(  ) is in progress.  ):  ): IAB helper is not set up.  )I  )V
> )Z  *  Error:   *.  */*  ,  ,
> , height:
> , item type:  , purchase:
> , result:   , since you don't own it!   , token:  , type is :   , width:
>  , y:   -  -1  .   . No token.  . Request code:  . Response:   .0  .3
> .AppReceiver  .fileprovider/share  .jpg  .mblandroid  /  /*  /I
> /android_asset  00  02 ¥ 0:OK/-1001:Remote exception during
> initialization/-1002:Bad response received/-1003:Purchase signature
> verification failed/-1004:Send intent failed/-1005:User
> cancelled/-1006:Unknown purchase response/-1007:Missing token/-1008:Unknown
> error/-1009:Subscriptions not available/-1010:Invalid consumption attempt á
> 0:OK/1:User Canceled/2:Unknown/3:Billing Unavailable/4:Item
> unavailable/5:Developer Error/6:Error/7:Item Already Owned/8:Item not owned
> ——
>
> —
> Scott Morrow
> Elementary Software
>
> > On Jul 30, 2020, at 11:20 AM, JeeJeeStudio via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > Yes, that was what i was thinking too. Else it would not get into the
> standalone.
> >
> > Op 30-7-2020 om 19:18 schreef J. Landman Gay via use-livecode:
> >> I've never seen that. Did you accidentally tick the ads checkbox in
> standalone settings?
> >>
> >> --
> >> Jacqueline Landman Gay | jac...@hyperactivesw.com
> >> HyperActive Software | http://www.hyperactivesw.com
> >> On July 30, 2020 12:29:00 AM scott--- via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >>
> >>> I have an app (Windows, Mac, iOS and Android… thank you LC!) that is
> aimed at children. It does not contain advertising. I recently submitted an
> update to Google Play and although it was accepted into the store a few
> weeks ago, today I received the notice below. I am suspicious that this is
> not currently addressed by LC. Has anyone else enco

Re: Google Play SDK problem

2020-07-30 Thread scott--- via use-livecode
Thanks for the advice, Jerry.
—
Scott

> On Jul 30, 2020, at 10:32 PM, JeeJeeStudio via use-livecode 
>  wrote:
> 
> Well 2 things:
> 
> 1. Since LC is no longer supporting ads, with which one might earn an extra
> dime, they could better remove it. Maybe via lcb and an injection in the
> manifest something is possible and one could choose it's own preferable ads
> provider.
> 
> 2. You can reply to the email from Google and then you will get an answer
> which gives you a clue or leaves you with more questions.
> 
> Ok 3 things.
> 3. I had it once too, first my app was allowed for the family, and later
> after an update it was no longer. And i got tired of it so i canceled the
> lower ages and for family. And it was a simple app just telling the time an
> date updated with speech. No data was pulled, no ads, no internet needed.
> 
> Kind regards,
> Jerry
> 
> Op vr 31 jul. 2020 00:21 schreef scott--- via use-livecode <
> use-livecode@lists.runrev.com>:
> 
>> Thank you for your thoughts. I don’t think the ad checkbox would have been
>> checked. (It isn’t checked now and since I was only vaguely aware of its
>> existence, it seems unlikely I would have checked - and then unchecked it -
>> accidentally.
>> 
>> When opening the android apk with BBEdit, I found the text below (ad
>> checkbox not ticked and builds from both LC 9.6.0 and 9.6.1 (rc1) contained
>> this string.)  I am not knowledgeable enough to know if this really has
>> anything to do with the advertising SDK.The new "Families Policy
>> Requirements” has a list of allowed ad SDKs (when targeting an app for
>> children) so it may be that Google Play is now implementing an automated
>> check for ad references and that something that normally got through is now
>> triggering this alert. Does that sound possible? Not sure whether to submit
>> again to Google Play or create a bug report.
>> 
>> ——
>> +$SWITCH_TABLE$android$net$NetworkInfo$State
>> A$SWITCH_TABLE$com$inneractive$api$ads$InneractiveAdView$ViewState
>> 4$SwitchMap$com$amazon$inapp$purchasing$Item$ItemType
>> G$SwitchMap$com$amazon$inapp$purchasing$KiwiResponseHandler$ResponseType
>> M$SwitchMap$com$amazon$inapp$purchasing$PurchaseResponse$PurchaseRequestStatus
>> [$SwitchMap$com$amazon$inapp$purchasing$PurchaseUpdatesResponse$PurchaseUpdatesRequestStatus
>> $VALUES  $assertionsDisabled  %d,%d,%d,%d  %s < %d  %s < %d AND NOT %s  %s
>> = %d  &a=  &cid=  &eid=  &g=  &h=  &hid=  &k=  &lg=  &mn=  &nt=3G
>> &nt=WIFI  &osudi=  &po=  &t=  &v=  &w=  ' AND   ' can't be consumed.  ',  (
>> A(%s, requestId: "%s", getUserIdRequestStatus: "%s", userId: "%s") U(%s,
>> requestId: "%s", itemDataRequestStatus: "%s", unavailableSkus: %s,
>> itemData: %s) M(%s, requestId: "%s", purchaseRequestStatus: "%s", userId:
>> "%s", receipt: %s) Ç (%s, requestId: "%s", purchaseUpdatesRequestStatus:
>> "%s", userId: "%s", receipts: %s, revokedSkus: %s, offset: "%s", isMore:
>> "%b") L(%s, sku: "%s", itemType: "%s", subscriptionPeriod: %s,
>> purchaseToken: "%s") `(%s, sku: "%s", price: "%s", itemType: "%s", title:
>> "%s", description: "%s", smallIconUrl: "%s") $(%s, startDate: "%s",
>> endDate: "%s")  ()  ()V
>> D(?i)((?:http|https|file):\/\/|(?:inline|data|about|javascript):)(.*)
>> (TTleft;TTright;)V  (Z(decimal)  ) ") because another async
>> operation(  ) is in progress.  ):  ): IAB helper is not set up.  )I  )V
>> )Z  *  Error:   *.  */*  ,  ,
>> , height:
>> , item type:  , purchase:
>> , result:   , since you don't own it!   , token:  , type is :   , width:
>> , y:   -  -1  .   . No token.  . Request code:  . Response:   .0  .3
>> .AppReceiver  .fileprovider/share  .jpg  .mblandroid  /  /*  /I
>> /android_asset  00  02 ¥ 0:OK/-1001:Remote exception during
>> initialization/-1002:Bad response received/-1003:Purchase signature
>> verification failed/-1004:Send intent failed/-1005:User
>> cancelled/-1006:Unknown purchase response/-1007:Missing token/-1008:Unknown
>> error/-1009:Subscriptions not available/-1010:Invalid consumption attempt á
>> 0:OK/1:User Canceled/2:Unknown/3:Billing Unavailable/4:Item
>> unavailable/5:Developer Error/6:Error/7:Item Already Owned/8:Item not owned
>> ——
>> 
>> —
>> Scott Morrow
>> Elementary Software
>> 
>>> On Jul 30, 2020, at 11:20 AM, JeeJeeStudio via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>>> 
>>> Yes, that was what i was thinking too. Else it would not get into the
>> standalone.
>>> 
>>> Op 30-7-2020 om 19:18 schreef J. Landman Gay via use-livecode:
 I've never seen that. Did you accidentally tick the ads checkbox in
>> standalone settings?
 
 --
 Jacqueline Landman Gay | jac...@hyperactivesw.com
 HyperActive Software | http://www.hyperactivesw.com
 On July 30, 2020 12:29:00 AM scott--- via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
 
> I have an app (Windows, Mac, iOS and Android… thank you LC!) that is
>> aimed at children. It does not contain advertising. I