cordova-sms / cordova-sms-plugin

Cross-platform plugin for Cordova / PhoneGap to send SMS. Available for Android, iOS, and Windows Phone 8.
MIT License
251 stars 166 forks source link

ERROR: Plugin 'SMS' not found, or is not a CDVPlugin. Check your plugin mapping in config.xml. #209

Closed nikhil-kumar-behera-oranetech closed 4 years ago

nikhil-kumar-behera-oranetech commented 4 years ago

On iOS simulator, I'm getting this issue. Here is my config.xml ` <?xml version='1.0' encoding='utf-8'?>

LAMB An awesome Ionic/Cordova app. Ionic Framework Team We use your location for showing nearby stops. We use your contact to send SOS message. `
dbaq commented 4 years ago

Can you please share your error? What stack trace are you getting?

Nikhil-Daffodil commented 4 years ago

Can you please share your error? What stack trace are you getting?

2020-05-07 19:24:16.441052+0530 LAMB[34219:2281407] Apache Cordova native platform version 5.1.1 is starting. 2020-05-07 19:24:16.441494+0530 LAMB[34219:2281407] Multi-tasking -> Device: YES, App: YES 2020-05-07 19:24:16.491851+0530 LAMB[34219:2281407] CDVWKWebViewEngine: trying to inject XHR polyfill 2020-05-07 19:24:17.692649+0530 LAMB[34219:2281407] WF: === Starting WebFilter logging for process LAMB 2020-05-07 19:24:17.692896+0530 LAMB[34219:2281407] WF: _userSettingsForUser : (null) 2020-05-07 19:24:17.693058+0530 LAMB[34219:2281407] WF: _WebFilterIsActive returning: NO 2020-05-07 19:24:17.725171+0530 LAMB[34219:2281407] CDVWKWebViewEngine will reload WKWebView if required on resume 2020-05-07 19:24:17.725496+0530 LAMB[34219:2281407] Using Ionic WKWebView 2020-05-07 19:24:17.726288+0530 LAMB[34219:2281407] [CDVTimer][console] 0.159025ms 2020-05-07 19:24:17.726672+0530 LAMB[34219:2281407] [CDVTimer][handleopenurl] 0.164032ms 2020-05-07 19:24:17.730420+0530 LAMB[34219:2281407] [CDVTimer][intentandnavigationfilter] 3.580093ms 2020-05-07 19:24:17.730785+0530 LAMB[34219:2281407] [CDVTimer][gesturehandler] 0.137925ms 2020-05-07 19:24:17.776787+0530 LAMB[34219:2281407] [CDVTimer][file] 45.820951ms 2020-05-07 19:24:17.783921+0530 LAMB[34219:2281407] +backgroundSessionConfiguration: is deprecated. Please use +backgroundSessionConfigurationWithIdentifier: instead 2020-05-07 19:24:17:782 LAMB[34219:2281407] Backing up original handler. 2020-05-07 19:24:17:783 LAMB[34219:2281407] Setting new handler. 2020-05-07 19:24:17.807281+0530 LAMB[34219:2281407] [CDVTimer][backgroundgeolocation] 30.283928ms 2020-05-07 19:24:17.812142+0530 LAMB[34219:2281407] [CDVTimer][cordovagooglemaps] 4.587054ms 2020-05-07 19:24:17.812674+0530 LAMB[34219:2281407] CDVIonicKeyboard: resize mode 1 2020-05-07 19:24:17.814292+0530 LAMB[34219:2281407] [CDVTimer][cdvionickeyboard] 1.852989ms 2020-05-07 19:24:17.818938+0530 LAMB[34219:2281407] [CDVTimer][splashscreen] 4.393935ms 2020-05-07 19:24:17.823294+0530 LAMB[34219:2281407] [CDVTimer][statusbar] 3.883004ms 2020-05-07 19:24:17.824446+0530 LAMB[34219:2281407] [CDVTimer][socialsharing] 0.761986ms 2020-05-07 19:24:17.824764+0530 LAMB[34219:2281407] [CDVTimer][TotalPluginStartup] 98.752975ms 2020-05-07 19:24:17.858836+0530 LAMB[34219:2281407] Current db version: 3 2020-05-07 19:24:19.504565+0530 LAMB[34219:2281407] Ionic Native: deviceready event fired after 837 ms CoreData: annotation: Failed to load optimized model at path '/Users/daffolapmac-07/Library/Developer/CoreSimulator/Devices/38D61D1D-20FE-4BEE-BA21-7B34131EA808/data/Containers/Bundle/Application/70995A24-207A-40E2-88FE-DB0ED86F065A/LAMB.app/GoogleMaps.bundle/GMSCacheStorage.momd/StorageWithTileProto.omo' CoreData: annotation: Failed to load optimized model at path '/Users/daffolapmac-07/Library/Developer/CoreSimulator/Devices/38D61D1D-20FE-4BEE-BA21-7B34131EA808/data/Containers/Bundle/Application/70995A24-207A-40E2-88FE-DB0ED86F065A/LAMB.app/GoogleMaps.bundle/GMSCacheStorage.momd/StorageWithTileProto.omo' CoreData: annotation: Failed to load optimized model at path '/Users/daffolapmac-07/Library/Developer/CoreSimulator/Devices/38D61D1D-20FE-4BEE-BA21-7B34131EA808/data/Containers/Bundle/Application/70995A24-207A-40E2-88FE-DB0ED86F065A/LAMB.app/GoogleMaps.bundle/GMSCacheStorage.momd/StorageWithTileProto.omo' 2020-05-07 19:24:20.618971+0530 LAMB[34219:2281591] [error] fault: One or more models in this application are using transformable properties with transformer names that are either unset, or set to NSKeyedUnarchiveFromDataTransformerName. Please switch to using "NSSecureUnarchiveFromData" or a subclass of NSSecureUnarchiveFromDataTransformer instead. At some point, Core Data will default to using "NSSecureUnarchiveFromData" when nil is specified, and transformable properties containing classes that do not support NSSecureCoding will become unreadable. CoreData: fault: One or more models in this application are using transformable properties with transformer names that are either unset, or set to NSKeyedUnarchiveFromDataTransformerName. Please switch to using "NSSecureUnarchiveFromData" or a subclass of NSSecureUnarchiveFromDataTransformer instead. At some point, Core Data will default to using "NSSecureUnarchiveFromData" when nil is specified, and transformable properties containing classes that do not support NSSecureCoding will become unreadable. 2020-05-07 19:24:20.620127+0530 LAMB[34219:2281591] [error] CoreData: One or more models in this application are using transformable properties with transformer names that are either unset, or set to NSKeyedUnarchiveFromDataTransformerName. Please switch to using "NSSecureUnarchiveFromData" or a subclass of NSSecureUnarchiveFromDataTransformer instead. At some point, Core Data will default to using "NSSecureUnarchiveFromData" when nil is specified, and transformable properties containing classes that do not support NSSecureCoding will become unreadable. CoreData: warning: Property 'value' on Entity 'GMSCacheProperty' is using nil or an insecure NSValueTransformer. Please switch to using "NSSecureUnarchiveFromData" or a subclass of NSSecureUnarchiveFromDataTransformer instead. CoreData: warning: Property 'value' on Entity 'GMSCacheProperty' is using nil or an insecure NSValueTransformer. Please switch to using "NSSecureUnarchiveFromData" or a subclass of NSSecureUnarchiveFromDataTransformer instead. CoreData: warning: Property 'value' on Entity 'GMSCacheProperty' is using nil or an insecure NSValueTransformer. Please switch to using "NSSecureUnarchiveFromData" or a subclass of NSSecureUnarchiveFromDataTransformer instead. 2020-05-07 19:24:22.678346+0530 LAMB[34219:2281407] Google Maps SDK for iOS version: 3.1.206.0 2020-05-07 19:24:22.678650+0530 LAMB[34219:2281407] New version of Google Maps SDK for iOS available: 3.8.0.0 2020-05-07 19:24:28.311011+0530 LAMB[34219:2281407] https://wimb.cloudzmall.com/sos/track/1588859668294_86 2020-05-07 19:24:28.311599+0530 LAMB[34219:2281407] ERROR: Plugin 'SMS' not found, or is not a CDVPlugin. Check your plugin mapping in config.xml. 2020-05-07 19:24:28.311771+0530 LAMB[34219:2281407] FAILED pluginJSON = ["SMS1943879573","SMS","sendSMS",[["888-555-5512"],"You can track my location from https:\/\/wimb.cloudzmall.com\/sos\/track\/1588859668294_86"]] 2020-05-07 19:24:28.311981+0530 LAMB[34219:2281407] ERROR: Plugin 'SMS' not found, or is not a CDVPlugin. Check your plugin mapping in config.xml. 2020-05-07 19:24:28.312098+0530 LAMB[34219:2281407] FAILED pluginJSON = ["SMS1943879574","SMS","sendSMS",[["555-610-6679"],"You can track my location from https:\/\/wimb.cloudzmall.com\/sos\/track\/1588859668294_86"]]

dbaq commented 4 years ago

Are you using a real device? Have you installed the plugin correctly? Have you looked at the readme and specifically this one: https://github.com/cordova-sms/cordova-sms-plugin/issues?q=is%3Aissue+is%3Aclosed+sms+label%3A%22sms+undefined%22?

dbaq commented 4 years ago

Closing this one since no update was given. Feel free to open another issue if you are still facing issues.