Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Runetime error with v2019.3502 - Google Mobile Ads sdk ? Not using
Started by tech47 Jul 11 2019 01:57 AM

5 replies to this topic

Best Answer tech47 , 12 July 2019 - 01:30 AM

Hi Rob,

 

Problem solved. Thank you very much !

 

Regards

[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

tech47

[GLOBAL: userInfoPane.html]
tech47
  • Enthusiast

  • 45 posts
  • Corona SDK

Hi,

 

The build is now succesful but the app crashes after "copy to device and launch", here is the log :

 

https://pastebin.com/X0KAnSmv

 

We are not using any ads plugin.

 

Regards,

 

Pascal Bancel
Keetiz CTO



[TOPIC: post.html]
#2

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 25,793 posts
  • Enterprise

Can you post your build.settings?



[TOPIC: post.html]
#3

tech47

[GLOBAL: userInfoPane.html]
tech47
  • Enthusiast

  • 45 posts
  • Corona SDK

settings =
{
      orientation = {
            default = "portrait",
            supported = { "portrait" },
            -- supported = { "landscapeLeft", "landscapeRight", "portrait", "portraitUpsideDown", },
      },
    splashScreen =
    {
        enable = false
    },
      android =
      {
          useGoogleServicesJson = true,
        usesPermissions = {
            "android.permission.INTERNET",
            "android.permission.ACCESS_NETWORK_STATE",
            "android.permission.ACCESS_FINE_LOCATION",
            "android.permission.ACCESS_COARSE_LOCATION",
            "android.permission.CALL_PHONE",
        },
        facebookAppId = "1629420120665771",
        usesFeatures = {
            -- If you set permissions "ACCESS_FINE_LOCATION" and "ACCESS_COARSE_LOCATION" above,
            -- then you may want to set up your app to not require location services as follows.
            -- Otherwise, devices that do not have location sevices (such as a GPS) will be unable
            -- to purchase this app in the app store.
            { name = "android.hardware.location", required = false },
            { name = "android.hardware.location.gps", required = false },
            { name = "android.hardware.location.network", required = false },
            { name = "android.hardware.telephony", required = false },
        },
        intentFilters = {
            {
                label = "Keetiz",
                actions = { "android.intent.action.VIEW" },
                categories =
                {
                    "android.intent.category.DEFAULT",
                    "android.intent.category.BROWSABLE",
                },
                data = { scheme = "keetiz" },
            },
            {
                label = "Keetiz",
                actions = { "android.intent.action.VIEW" },
                categories =
                {
                    "android.intent.category.DEFAULT",
                    "android.intent.category.BROWSABLE",
                },
                data = { scheme = "https", host="www.keetiz.com", pathPattern="/keetizflashcode.*" },
            }
            ,
            {
                label = "Keetiz",
                actions = { "android.intent.action.VIEW" },
                categories =
                {
                    "android.intent.category.DEFAULT",
                    "android.intent.category.BROWSABLE",
                },
                data = { scheme = "https", host="k-z.fr", pathPattern="/.*" },
            }

        -- You can add more intent filters here.
        },
    },


      iphone =
      {
        xcassets = "Images.xcassets",
        plist =
        {
            UILaunchStoryboardName = "LaunchScreen",
            FacebookUrlSchemeSuffix = "suffix",
            ["URL types"] =
            {
                item =
                {
                    ["URL Schemes"] = { ["Item 0"] = "fb1629420120665771suffix" },
                },
            },
            MinimumOSVersion = "8.0",
            FacebookAppID = "1629420120665771",
            CFBundleLocalizations =
            {
                "en",
                "fr"
            },
            CFBundleURLTypes =
            {
                {
                    CFBundleURLSchemes =
                    {
                        "keetiz",
                        "fb1629420120665771suffix",
                        "db-l1q0pln8qsi8qyp",
                    }
                }
            },
              UIBackgroundModes = {"remote-notification"}, --plugin OneSignal
            NSLocationAlwaysUsageDescription="Pour trier les commerces par proximité, Keetiz a besoin de connaître ta position",
            NSLocationWhenInUseUsageDescription="Pour trier les commerces par proximité, Keetiz a besoin de connaître ta position",
            ITSAppUsesNonExemptEncryption = false,
            LSApplicationQueriesSchemes =
            {
                "keetiz"
            }
        },
      },


      plugins =
      {
        ["CoronaProvider.native.popup.activity"] = { publisherId = "com.coronalabs", supportedPlatforms = {iphone=true} },
        ["CoronaProvider.native.popup.social"] = { publisherId = "com.coronalabs" },
        ["plugin.OneSignal"] = { publisherId = "com.onesignal" },
        ["plugin.google.play.services"] = { publisherId = "com.coronalabs", supportedPlatforms = { android = true, ["android-kindle"]=true } },
        ["plugin.facebook.v4a"] = { publisherId = "com.coronalabs" },
        ["plugin.pasteboard"] = { publisherId = "com.coronalabs", },
        ["plugin.googleAnalytics"] = { publisherId = "com.coronalabs", supportedPlatforms = { iphone=true, android=true, } },
        ["plugin.openudid"] = { publisherId = "com.coronalabs", supportedPlatforms = { iphone=true, ["iphone-sim"]=true }, },
        ["plugin.firebaseAnalytics"] = { publisherId = "tech.scotth",}
    },

    excludeFiles =
    {
        all = {
            "Images.xcassets",".git"
        },
        android = {
           "LaunchScreen.storyboardc"
        },
        ios = {
            "Icon-hdpi.png","Icon-ldpi.png","Icon-mdpi.png","Icon-xhdpi.png","Icon-xxhdpi.png","Icon-xxxhdpi.png"
        },
    },
}
 



[TOPIC: post.html]
#4

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 25,793 posts
  • Enterprise

Remove this:

 

 ["plugin.google.play.services"] = { publisherId = "com.coronalabs", supportedPlatforms = { android = true, ["android-kindle"]=true } },

 

It's not needed any more. This is the old admob plugin which had dependencies that other plugins used to use. It's likely causing issues.

 

 

Rob



[TOPIC: post.html]
#5

tech47

[GLOBAL: userInfoPane.html]
tech47
  • Enthusiast

  • 45 posts
  • Corona SDK

  Best Answer

Hi Rob,

 

Problem solved. Thank you very much !

 

Regards



[TOPIC: post.html]
#6

vlads

[GLOBAL: userInfoPane.html]
vlads
  • Contributor

  • 717 posts
  • Corona Staff

In fact, I made it so that build will crash if this plugin is used with message to remove it
  • vlads likes this


[topic_controls]
[/topic_controls]