notification plugin build error

Hi,

  After sucessful build of my iOS app to device.i got Runtime error ( Module “plugin.notifications” not found , resource plugin.notification does not exist in archive ) when opening the app.

Corona sdk: Build: 2015.2714

 

 

Thanks

Can you post your build.settings please?

settings = 

{

plugins =

{

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

        {

            publisherId = “com.coronalabs”

        },

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

        {

            publisherId = “com.coronalabs”,

            supportedPlatforms = { android=true }

        },

[“facebook”] =

        {

            publisherId = “com.coronalabs”

        },

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

{

publisherId = “com.coronalabs”,

},

[“CoronaProvider.ads.vungle”] =

        {

            publisherId = “com.vungle”,

        },        

        [“plugin.notifications”] =

        {

            publisherId = “com.coronalabs”

        },

},  

orientation = 

default = “landscapeRight”, 

supported = { “landscapeLeft”, “landscapeRight” } 

},

iphone =  

{  

plist=  

{  

MinimumOSVersion = “6.0”,

UIApplicationExitsOnSuspend = false,

UIStatusBarHidden = true,

UIViewControllerBasedStatusBarAppearance = true,  

CFBundleIconFile = “Icon.png”,

UIInterfaceOrientation = “UIInterfaceOrientationLandscapeRight”,

UISupportedInterfaceOrientations = { “UIInterfaceOrientationLandscapeLeft”,“UIInterfaceOrientationLandscapeRight” },

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”,

},

}, 

},  

android =

{

versionCode = “330”,

largeHeap = true,

supportsScreens =

        {

            resizeable    = true,

            smallScreens  = true,

            normalScreens = true,

            largeScreens  = true,

            xlargeScreens = true,

        },

permissions = 

{

      { name = “.permission.C2D_MESSAGE”, protectionLevel = “signature” },

},

usesFeatures =

{

{ name = “android.hardware.camera”, required = true },

{ name = “android.hardware.camera.front”, required = false },

},

usesPermissions = 

  “android.permission.INTERNET”,

  “android.permission.CAMERA”,

  “android.permission.WRITE_EXTERNAL_STORAGE”,

  “android.permission.ACCESS_WIFI_STATE”,

  “android.permission.READ_PHONE_STATE”,

  “android.permission.ACCESS_NETWORK_STATE”,

  “android.permission.GET_ACCOUNTS”,

  “android.permission.RECEIVE_BOOT_COMPLETED”,

  “com.android.vending.BILLING”,

  “com.google.android.c2dm.permission.RECEIVE”,

  “.permission.C2D_MESSAGE”,

},

},

}

also i got error for what ever plugin used.right now i got Game centre plugin issue on my other app.

Never mind, I see you have that already…

You need to add:

        ["plugin.notifications"] =         {             publisherId = "com.coronalabs"         },

to your plugins table in build.settings.

Rob

HI Rob,

I am also using this plugin for the ios enterprise version, but than also i am getting this error, Please find my build setting below. I am using enterprise version for paypal sdk that is working perfectly fine but i am getting error when opening app in xcode simulator or ios device no plugin.notification found. Please guide me how can i go further ahead.

Build Setting

settings =

{

orientation = {

default = “portrait”, 

supported = { “portrait” },

},

iphone =

{

plist =

{

CFBundleIconFile = “Icon.png”,

CoronaDelegates = 

“CoronaNotificationsDelegate” ,

“CoronaFacebookDelegate”

},

CFBundleIconFiles =

{

“Icon.png”, 

“Icon@2x.png”, 

“Icon-72.png”, 

},

UIAppFonts =

            { 

            “Lato-Regular.ttf”,

            “Nexa Light.otf”,

            “Nexa Bold.otf”

},

       

           

        

LSApplicationQueriesSchemes = 

            {

                “com.paypal.ppclient.touch.v1”,

“com.paypal.ppclient.touch.v2”,

“org-appextension-feature-password-management”,

            },

NSAppTransportSecurity =

       {

        NSExceptionDomains =

         {

          ["*************.com"] =

           {

            NSIncludesSubdomains = true,

            NSThirdPartyExceptionAllowsInsecureHTTPLoads = true

           },

         },

       }, 

},

},

plugins =

    {

        [“plugin.notifications”] =

        {

            publisherId = “com.coronalabs”

        },

    },    

}

The plugins table is only used for SDK builds. If you’re building with Enterprise then you need to include the plugin’s binary object library in your project. Enterprise does not use that part of build.settings.

Rob

Can you post your build.settings please?

settings = 

{

plugins =

{

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

        {

            publisherId = “com.coronalabs”

        },

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

        {

            publisherId = “com.coronalabs”,

            supportedPlatforms = { android=true }

        },

[“facebook”] =

        {

            publisherId = “com.coronalabs”

        },

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

{

publisherId = “com.coronalabs”,

},

[“CoronaProvider.ads.vungle”] =

        {

            publisherId = “com.vungle”,

        },        

        [“plugin.notifications”] =

        {

            publisherId = “com.coronalabs”

        },

},  

orientation = 

default = “landscapeRight”, 

supported = { “landscapeLeft”, “landscapeRight” } 

},

iphone =  

{  

plist=  

{  

MinimumOSVersion = “6.0”,

UIApplicationExitsOnSuspend = false,

UIStatusBarHidden = true,

UIViewControllerBasedStatusBarAppearance = true,  

CFBundleIconFile = “Icon.png”,

UIInterfaceOrientation = “UIInterfaceOrientationLandscapeRight”,

UISupportedInterfaceOrientations = { “UIInterfaceOrientationLandscapeLeft”,“UIInterfaceOrientationLandscapeRight” },

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”,

},

}, 

},  

android =

{

versionCode = “330”,

largeHeap = true,

supportsScreens =

        {

            resizeable    = true,

            smallScreens  = true,

            normalScreens = true,

            largeScreens  = true,

            xlargeScreens = true,

        },

permissions = 

{

      { name = “.permission.C2D_MESSAGE”, protectionLevel = “signature” },

},

usesFeatures =

{

{ name = “android.hardware.camera”, required = true },

{ name = “android.hardware.camera.front”, required = false },

},

usesPermissions = 

  “android.permission.INTERNET”,

  “android.permission.CAMERA”,

  “android.permission.WRITE_EXTERNAL_STORAGE”,

  “android.permission.ACCESS_WIFI_STATE”,

  “android.permission.READ_PHONE_STATE”,

  “android.permission.ACCESS_NETWORK_STATE”,

  “android.permission.GET_ACCOUNTS”,

  “android.permission.RECEIVE_BOOT_COMPLETED”,

  “com.android.vending.BILLING”,

  “com.google.android.c2dm.permission.RECEIVE”,

  “.permission.C2D_MESSAGE”,

},

},

}

also i got error for what ever plugin used.right now i got Game centre plugin issue on my other app.

Never mind, I see you have that already…

You need to add:

        ["plugin.notifications"] =         {             publisherId = "com.coronalabs"         },

to your plugins table in build.settings.

Rob

HI Rob,

I am also using this plugin for the ios enterprise version, but than also i am getting this error, Please find my build setting below. I am using enterprise version for paypal sdk that is working perfectly fine but i am getting error when opening app in xcode simulator or ios device no plugin.notification found. Please guide me how can i go further ahead.

Build Setting

settings =

{

orientation = {

default = “portrait”, 

supported = { “portrait” },

},

iphone =

{

plist =

{

CFBundleIconFile = “Icon.png”,

CoronaDelegates = 

“CoronaNotificationsDelegate” ,

“CoronaFacebookDelegate”

},

CFBundleIconFiles =

{

“Icon.png”, 

“Icon@2x.png”, 

“Icon-72.png”, 

},

UIAppFonts =

            { 

            “Lato-Regular.ttf”,

            “Nexa Light.otf”,

            “Nexa Bold.otf”

},

       

           

        

LSApplicationQueriesSchemes = 

            {

                “com.paypal.ppclient.touch.v1”,

“com.paypal.ppclient.touch.v2”,

“org-appextension-feature-password-management”,

            },

NSAppTransportSecurity =

       {

        NSExceptionDomains =

         {

          ["*************.com"] =

           {

            NSIncludesSubdomains = true,

            NSThirdPartyExceptionAllowsInsecureHTTPLoads = true

           },

         },

       }, 

},

},

plugins =

    {

        [“plugin.notifications”] =

        {

            publisherId = “com.coronalabs”

        },

    },    

}

The plugins table is only used for SDK builds. If you’re building with Enterprise then you need to include the plugin’s binary object library in your project. Enterprise does not use that part of build.settings.

Rob