Not loaded plugin.google.iap.v3

Thank you to take time to help me.  :slight_smile:

settings = { orientation = { default = "landscapeRight", supported = { "landscapeRight","landscapeLeft" } }, iphone = { plist = { UIStatusBarHidden = false, UIPrerenderedIcon = true, -- set to false for "shine" overlay --UIApplicationExitsOnSuspend = true, -- uncomment to quit app on suspend         --[[      -- iOS app URL schemes:       CFBundleURLTypes =       {       {         CFBundleURLSchemes =           {           "fbXXXXXXXXXXXXXX", -- example scheme for facebook             "coronasdkapp", -- example second scheme           }         }       },       --]]       -- Icon image files table       CFBundleIconFiles = {         "Icon.png",         "Icon@2x.png",         "Icon-60.png",         "Icon-60@2x.png",         "Icon-60@3x.png",         "Icon-72.png",         "Icon-72@2x.png",         "Icon-76.png",         "Icon-76@2x.png",         "Icon-Small-40.png",         "Icon-Small-40@2x.png",         "Icon-Small-40@3x.png",         "Icon-Small-50.png",         "Icon-Small-50@2x.png",         "Icon-Small.png",         "Icon-Small@2x.png",         "Icon-Small@3x.png"       },       -- Launch image files table (see section below)       UILaunchImages = {       }, } }, window = {   -- Settings for the desktop window; applies to both Win32 and OS X desktop apps   },   excludeFiles =   {     -- Exclude all files at paths which end with "secret.txt" -- pour version dev voir dans niveau 1451   all ={"\*@1x.png","\*@2x.png","\*@2x.jpg","\*@2x.jpeg" },-- version lte --"\*@4x.png","\*@4x.jpg","\*@4x.jpeg" }, -- "\*@1x.png" --{"\*@4x.png","\*@4x.jpg","\*@4x.jpeg"}   --   all ={"\*@1x.png"},-- version mde   --   all ={"\*@4x.png","\*@4x.jpg","\*@4x.jpeg"}, -- version large   },   android =   {     supportsScreens =     {       smallScreens = true,       normalScreens = true,      largeScreens = true,       xlargeScreens = true,     },     usesPermissions =     {       "android.permission.INTERNET",       "android.permission.ACCESS\_NETWORK\_STATE",       "android.permission.WRITE\_EXTERNAL\_STORAGE",       "android.permission.WRITE\_INTERNAL\_STORAGE",       "android.permission.RECEIVE\_BOOT\_COMPLETED",       "com.android.vending.BILLING",       "com.android.vending.CHECK\_LICENSE",     },   },   plugins =   {     -- key is the name passed to Lua's 'require()'     -- ["plugin.openssl"] =     -- {       -- required     -- publisherId = "com.coronalabs",     -- },        ["plugin.google.iap.v3"] =       {         publisherId = "com.coronalabs",         supportedPlatforms = { android=true }        },          ["CoronaProvider.analytics.flurry"] =        {          publisherId = "com.coronalabs"        },        ["CoronaProvider.gameNetwork.google"] =        {         publisherId = "com.coronalabs",         supportedPlatforms = { android=true }        },   }, }

Hi @remiduchalard,

Are you trying to run this on a real device or in the Corona Simulator?

Brent

Thank you for your help.

I rebuild today and instal the apk on my phone and it’s work properly. (For install the apps, I upload the apps in google play and i install the apps on my mobile form the google play.

I have a new bug (Erreur Authentification requise. Veuillez vous connecter à votre compte Google., in english it would be "Error Authentification is necessary. Please log with your gmail account.)

I think, i will find the answer on an other page of the forum.

The second problem was solve quite quickly. It was only the name of the in app. Before I write in my code the full name of the in app and when i write only the name of the in app it s work.

Hi 

We are facing this issue when we open my game on corona simulator. we use corona on windows 7.

corona runtime error

module ‘plugin_google_iap_v3’ not found

no field package.preload [‘plugin_google_iap_v3’]

how to resolve this

Hi @haider. Welcome to the forums.  Please post your build.settings file. Make sure to click the blue <> button in the edit bar (with Bold, Italic, etc.) and paste your build.settings contents into the box that pops up.

Thanks

Rob

[lua]

settings =

{

    plugins = {

  

        [“CoronaProvider.native.popup.social”] =

        {

            publisherId = “com.coronalabs”

        },

        [“plugin.google.iap.v3”] =

        {

            publisherId = “com.coronalabs”,

            supportedPlatforms = { android=true }

        },

        [“CoronaProvider.gameNetwork.google”] =

        {

            publisherId = “com.coronalabs”,

            supportedPlatforms = { android = true },

        },

    

        [“plugin.google.play.services”] =

        {

            publisherId = “com.coronalabs”

        },

            --[[remove this line to implement tapfortap

            [“plugin.tapfortap”] =

        {

            – required

            publisherId = “com.tapfortap”,

        },

        ]] --remove this line to implement tapfortap

        [“plugin.chartboost”] =

        {

            publisherId = “com.swipeware”,

        },

        --[[ remove this line to implement AdBuddiz

        [“plugin.adbuddiz”] =

        {

            – required

            publisherId = “com.adbuddiz”,

        },

        ]]-- remove this line to implement AdBuddiz

        --[[remove this line to implement inMobi

        [“CoronaProvider.ads.inmobi”] =

        {

            publisherId = “com.coronalabs”,

        },

        ]]-- remove this line to implement inMobi

       --[[remove this line to implement inneractive

        [“CoronaProvider.ads.inneractive”] =

        {

            publisherId = “com.inner-active”,

        },

        ]]–remove this line to implement inneractive

        --[[remove this line to implement Vungle

        [“CoronaProvider.ads.vungle”] =

        {

            publisherId = “com.vungle”,

        },

        ]]–remove this line to implement Vungle

        --[[remove this line to implement iAds

        [“CoronaProvider.ads.iads”] =

        {

            – required

            publisherId = “com.coronalabs”,

        },

        ]] --remove this line to implement iAds     

        --[[remove this line to implement playhaven

        [“plugin.playhaven”] =

        {

            – required

            publisherId = “com.playhaven”,

        },

        ]] --remove this line to implement playhaven

        [“facebook”] =

        {

            – required

            publisherId = “com.coronalabs”,

        },

    },

    orientation =

    {

        default = “portrait”,

        supported = { “portrait” }

    },

    android =

    {

        googlePlayGamesAppId = “186137610783”,  --insert your app id number for google game services

        usesPermissions =

        {

            “com.android.vending.BILLING”, --remove this line if you don’t use iAP

            “android.permission.INTERNET”,

            “android.permission.ACCESS_NETWORK_STATE”,

            --[[remove this line if you use admob and not chartboost

            “android.permission.READ_PHONE_STATE” 

            ]]–remove this line if you use admob and not chartboost

         },

    }

}

[/lua]

Yep, i have same problem. Plugin could not be founded. 

First of all, I recommend you download the latest public build (2380) that we just announced yesterday. This has a key feature that helps with plugins and the simulator. You’re running into a problem where the “supportedPlatforms” line is preventing the simulator from downloading a small stub file that the simulator uses to avoid giving you that error.

if you wish to stay with an older build for now, simply comment out the supportedPlatforms line, reload the simulator, let it download the stub, then un-comment the line.

The simulator can’t run these plugins. You have to build for device and test on the device for IAP.

Rob