CoronaSDK
URLscheme

CoronaSDKでURLscheme

More than 3 years have passed since last update.

build.settingをいじればとりあえず簡単に設定可能。

build.settingの設定

Androidの場合

build.setting
settings =
{
   android =
   {
      intentFilters =
      {
         {
            label = "Your Title Goes Here",
            actions = { "android.intent.action.VIEW" },
            categories =
            {
               "android.intent.category.DEFAULT",
               "android.intent.category.BROWSABLE",
            },
            data = { scheme = "◯◯◯" },
         },
      },
   },
}

iOSの場合

build.setting
setting = {
    iphone = {
        CFBundleURLTypes =
        {
            {
                CFBundleURLSchemes =
                {
                    "fb000000000", --
                    "◯◯◯", -- example second scheme
                }
            }
        }
    }
}