nrikiji / cordova-line-login-plugin

A cordova plugin for easy implementation of LINE login using LineSDK.
Apache License 2.0
21 stars 23 forks source link

No response result after login success "NEW LINE LOGIN UI !" #43

Closed tchinlapha closed 4 years ago

tchinlapha commented 4 years ago

Hi.. I have the problem when I try to clone the project to another laptop and can run the project fine. But when I try to login Line the UI is change see the picture below.

This is old one when login and have response result work fine https://imgur.com/a/pg4voIQ

This is new one when login have no response result no error too. https://imgur.com/a/ZDvV89U

tchinlapha commented 4 years ago

It working well on ios, android when i downgrade to use version 1.0.3

nrikiji commented 4 years ago

thank you for contacting. cordova? ionic? please tell me the cordova (and ionic) version.

tchinlapha commented 4 years ago

thank you for contacting. cordova? ionic? please tell me the cordova (and ionic) version.

ionic -v 5.2.7

cordova -v 9.0.0 (cordova-lib@9.0.1)

package.json { "name": "myApp", "version": "2.0.1", "author": "Ionic Framework", "homepage": "http://ionicframework.com/", "private": true, "scripts": { "start": "ionic-app-scripts serve", "clean": "ionic-app-scripts clean", "build": "ionic-app-scripts build", "lint": "ionic-app-scripts lint" }, "dependencies": { "@angular/animations": "5.2.11", "@angular/common": "5.2.11", "@angular/compiler": "5.2.11", "@angular/compiler-cli": "^5.2.11", "@angular/core": "5.2.11", "@angular/forms": "5.2.11", "@angular/http": "5.2.11", "@angular/platform-browser": "5.2.11", "@angular/platform-browser-dynamic": "5.2.11", "@ionic-native/app-availability": "^4.20.0", "@ionic-native/app-version": "^4.20.0", "@ionic-native/call-number": "^4.20.0", "@ionic-native/core": "~4.20.0", "@ionic-native/device": "^4.20.0", "@ionic-native/facebook": "^4.20.0", "@ionic-native/file": "^4.20.0", "@ionic-native/file-transfer": "^4.20.0", "@ionic-native/geolocation": "^4.20.0", "@ionic-native/image-picker": "^4.20.0", "@ionic-native/in-app-browser": "^4.20.0", "@ionic-native/keyboard": "^4.20.0", "@ionic-native/launch-navigator": "^4.20.0", "@ionic-native/line-login": "^4.20.0", "@ionic-native/location-accuracy": "^4.20.0", "@ionic-native/market": "^4.20.0", "@ionic-native/push": "^4.20.0", "@ionic-native/splash-screen": "~4.20.0", "@ionic-native/status-bar": "~4.20.0", "@ionic-native/vibration": "^4.20.0", "@ionic/storage": "2.2.0", "call-number": "^1.0.1", "cordova-android": "^8.1.0", "cordova-ios": "^5.0.1", "cordova-line-login-plugin": "^1.2.2", "cordova-plugin-actionsheet": "^2.3.3", "cordova-plugin-add-swift-support": "^2.0.2", "cordova-plugin-app-version": "^0.1.9", "cordova-plugin-appavailability": "^0.4.2", "cordova-plugin-carthage-support": "^1.0.0", "cordova-plugin-dialogs": "^2.0.2", "cordova-plugin-facebook4": "^6.2.0", "cordova-plugin-file": "^6.0.2", "cordova-plugin-file-transfer": "^1.7.1", "cordova-plugin-geolocation": "^4.0.2", "cordova-plugin-inappbrowser": "^3.1.0", "cordova-plugin-market": "^1.2.0", "cordova-plugin-request-location-accuracy": "^2.3.0", "cordova-plugin-telerik-imagepicker": "^2.3.3", "cordova-plugin-vibration": "^3.1.1", "cordova-support-google-services": "^1.3.1", "ionic-angular": "3.9.5", "ionic-image-loader": "^6.3.3", "ionicons": "3.0.0", "moment": "^2.24.0", "phonegap-plugin-multidex": "^1.0.0", "phonegap-plugin-push": "^2.3.0", "rxjs": "5.5.11", "sw-toolbox": "3.6.0", "uk.co.workingedge.phonegap.plugin.launchnavigator": "^5.0.4", "zone.js": "0.8.29" }, "devDependencies": { "@ionic/app-scripts": "3.2.2", "cordova-plugin-device": "^2.0.2", "cordova-plugin-ionic-keyboard": "^2.2.0", "cordova-plugin-ionic-webview": "^4.1.2", "cordova-plugin-splashscreen": "^5.0.2", "cordova-plugin-statusbar": "^2.4.2", "cordova-plugin-whitelist": "^1.3.3", "typescript": "~2.6.2" }, "description": "An Ionic project", "cordova": { "plugins": { "cordova-plugin-whitelist": {}, "cordova-plugin-statusbar": {}, "cordova-plugin-device": {}, "cordova-plugin-splashscreen": {}, "cordova-plugin-ionic-webview": { "ANDROID_SUPPORT_ANNOTATIONS_VERSION": "27.+" }, "cordova-plugin-ionic-keyboard": {}, "cordova-plugin-request-location-accuracy": { "PLAY_SERVICES_LOCATION_VERSION": "16.+" }, "cordova-plugin-geolocation": { "GEOLOCATION_USAGE_DESCRIPTION": "We use your location for full functionality of certain app features." }, "uk.co.workingedge.phonegap.plugin.launchnavigator": { "GOOGLE_API_KEY_FOR_ANDROID": "My-Key", "OKHTTP_VERSION": "3.12.0", "LOCATION_USAGE_DESCRIPTION": "This app requires access to your location for navigation purposes" }, "phonegap-plugin-push": { "ANDROID_SUPPORT_V13_VERSION": "27.+", "FCM_VERSION": "17.0.+" }, "cordova-plugin-inappbrowser": {}, "cordova-plugin-appavailability": {}, "cordova-plugin-telerik-imagepicker": { "PHOTO_LIBRARY_USAGE_DESCRIPTION": "Please accept permission for pick your image profile and upload." }, "cordova-plugin-file-transfer": {}, "mx.ferreyra.callnumber": {}, "cordova-plugin-facebook4": { "APP_ID": "", "APP_NAME": "MyAppName", "FACEBOOK_HYBRID_APP_EVENTS": "false", "FACEBOOK_ANDROID_SDK_VERSION": "5.5.2" }, "cordova-plugin-vibration": {}, "cordova-plugin-app-version": {}, "cordova-plugin-market": {}, "cordova-line-login-plugin": {} }, "platforms": [ "ios", "android" ] } }

nrikiji commented 4 years ago

error

TypeError: callback.success.apply is not a function.

Reproduced. Investigate.sorry.

tchinlapha commented 4 years ago

error

TypeError: callback.success.apply is not a function.

Reproduced. Investigate.sorry.

ahh. ok nice work.

nrikiji commented 4 years ago

The following worked. Would you please try again.

$ ionic cordova platform rm android
$ ionic cordova plugin rm cordova-line-login-plugin
$ npm remove @ionic-native/line-login

after ...
$ ionic cordova platform add android
$ ionic cordova plugin add cordova-line-login-plugin
$ npm install @ionic-native/line-login
tchinlapha commented 4 years ago

The following worked. Would you please try again.

$ ionic cordova platform rm android
$ ionic cordova plugin rm cordova-line-login-plugin
$ npm remove @ionic-native/line-login

after ...
$ ionic cordova platform add android
$ ionic cordova plugin add cordova-line-login-plugin
$ npm install @ionic-native/line-login

does't work for me because when npm install @ionic-native/line-login. will add version more than 4.20. I use ionic-angular (version 3) so now i downgrade plugin version to 1.0.3 is work fine. I think have a problem with @ionic-native/line-login@4.2.0 and plugin cordova-line-login-plugin@1.2+

nrikiji commented 4 years ago

So that's it.. Changed the argument configuration in refactor. Do you not use ionic-native? Do you have any other good ideas? sorry

tchinlapha commented 4 years ago

So that's it.. Changed the argument configuration in refactor. Do you not use ionic-native? Do you have any other good ideas? sorry

Sorry I use ionic-native@4 (version 4) can not use more than because old project I not have any idea. but you can close this issue now work fine for me. Thank you :)

nrikiji commented 4 years ago

OK!

vidhema commented 4 years ago

So that's it.. Changed the argument configuration in refactor. Do you not use ionic-native? Do you have any other good ideas? sorry

Sorry I use ionic-native@4 (version 4) can not use more than because old project I not have any idea. but you can close this issue now work fine for me. Thank you :)

how did you get it working .. I am having the same issue in android

tchinlapha commented 4 years ago

So that's it.. Changed the argument configuration in refactor. Do you not use ionic-native? Do you have any other good ideas? sorry

Sorry I use ionic-native@4 (version 4) can not use more than because old project I not have any idea. but you can close this issue now work fine for me. Thank you :)

how did you get it working .. I am having the same issue in android

I use the old version.

ionic cordova plugin rm cordova-line-login-plugin
ionic cordova plugin add cordova-line-login-plugin@1.0.3
nrikiji commented 4 years ago

Is it a solved problem?