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
 


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


Re: Custom URLs

2021-09-01 Thread Sean Cole (Pi) via use-livecode
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


Re: Custom URLs

2021-09-01 Thread David Bovill via use-livecode
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 
, 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


Re: Custom URLs

2021-09-01 Thread Keith Martin via use-livecode
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
 


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