okland / accounts-phone

A login service based on mobile phone number for Meteor
118 stars 87 forks source link

loginWithPhoneAndPassword is not working in mobile device #41

Open saravananmani1988 opened 6 years ago

saravananmani1988 commented 6 years ago

TypeError: Object [object Object] has no method 'loginWithPhoneAndPassword'

Hi,

Im. running a mobile app with this package. I can login without any issues in desktop browser, however it fails to find the login method in mobile device when i use module run android-device

TypeError: Object [object Object] has no method 'loginWithPhoneAndPassword' at Scope.$scope.login (http://localhost:12544/__cordova/app/app.js?hash=82cbf6ab5317af7efec9c7ea3c17526bebf8f9a6:826:14) at fn (eval at (http://localhost:12544/__cordova/packages/angular_angular.js?hash=73c8bcda9a1c9e883cf9771937278c968a815c22:13390:15), :4:206) at callback (http://localhost:12544/__cordova/packages/angular_angular.js?hash=73c8bcda9a1c9e883cf9771937278c968a815c22:23638:17) at Scope.$eval (http://localhost:12544/__cordova/packages/angular_angular.js?hash=73c8bcda9a1c9e883cf9771937278c968a815c22:16077:28) at Scope.$apply (http://localhost:12544/__cordova/packages/angular_angular.js?hash=73c8bcda9a1c9e883cf9771937278c968a815c22:16177:25) at HTMLButtonElement. (http://localhost:12544/__cordova/packages/angular_angular.js?hash=73c8bcda9a1c9e883cf9771937278c968a815c22:23643:23) at HTMLButtonElement.jQuery.event.dispatch (http://localhost:12544/__cordova/packages/jquery.js?hash=e15504227515793c40a6a3a8ad340399cb657500:5282:27) at HTMLButtonElement.elemData.handle (http://localhost:12544/__cordova/packages/jquery.js?hash=e15504227515793c40a6a3a8ad340399cb657500:4934:28) angular_angular.js?hash=73c8bcda9a1c9e883cf9771937278c968a815c22:12545