system.openURL (MyOtherAPP)

Hi,

this is my code for Open 3rd party application (other my app) in corona sdk:

myOtherApp=“FO://params to send”

system.openURL(myOtherApp)

in Android work fine!

in iOS not work…not launch!

this is build.settings:

    android =
    {
 

        intentFilters =
           {
                {
                    label = “FilleaGO”,
                    actions = { “android.intent.action.VIEW” },
                    categories =
                {
                      “android.intent.category.DEFAULT”,
                      “android.intent.category.BROWSABLE”,
                },
                    data = { scheme = “FilleaGO” },
                },
        },      

  },

    iphone =
    {
        plist =
        { 

            NSAppTransportSecurity =
            {
                NSAllowsArbitraryLoads = true,
            },
            UIApplicationExitsOnSuspend = false,            
            CFBundleURLTypes =
              {
                 {
                 CFBundleURLName = “com.jcsnc.ios.filleaoffice”,
                 CFBundleURLSchemes = {  “FO” },
               }
            },
            LSApplicationQueriesSchemes = { “FO”},          

        }

   }

Help me understand the problem. You have two apps and you’re trying to open one from the other?

Is the build.settings from the app trying to do the opening or the app that needs to be opened?

Thanks

Rob

Hi Rob.

Thank you for your answer.

I solved the problem. I was wrong to define CFBundleURLSchemes in the relative section

Help me understand the problem. You have two apps and you’re trying to open one from the other?

Is the build.settings from the app trying to do the opening or the app that needs to be opened?

Thanks

Rob

Hi Rob.

Thank you for your answer.

I solved the problem. I was wrong to define CFBundleURLSchemes in the relative section