nrikiji / cordova-line-login-plugin Goto Github PK
View Code? Open in Web Editor NEWA cordova plugin for easy implementation of LINE login using LineSDK.
License: Apache License 2.0
A cordova plugin for easy implementation of LINE login using LineSDK.
License: Apache License 2.0
@nrikiji
#use Xcode 11.3
Use IONIC With Capacitor
Register to registry soon...
For backend server used, "code" field is very important.
Reference to Line API document
https://developers.line.biz/en/docs/line-login/web/integrate-line-login/#receiving-the-authorization-code
Is there a way to get this field in login function?
Recently, we need to get email scope from back end side, because front end is not trustable. Email can be forged even though access_token is correct from front end. With a fake email, one can take over any account he wants.
https://github.com/nrikiji/cordova-line-login-plugin/blob/master/src/ios/LineLogin.swift#L22
i use this code
https://developers.line.biz/en/docs/ios-sdk/swift/managing-users/
i change code like this
LoginManager.shared.login(permissions: [.profile, .openID, .email]
i can get person email, so can you add a variable to control the permissions: []
array?
先日はありがとうございました。
アクセストークン取得時に
トークンの有効期限が一緒に取得できると
AWSのcognitoを経由してOpen ID connectができることがわかりました。
お忙しいところ恐縮ではありますが
トークンの有効期限の取得ができると大変助かります。
何卒よろしくお願いいたします。
ハイブリッドアプリ開発環境であるMonacaへのインポートを試みましたが、Monaca上では動作しませんでした。
Monaca上でもインポートして利用できるように変更するご予定はございますか?
例えば
https://github.com/jeduan/cordova-plugin-facebook4
https://github.com/ManifestWebDesign/twitter-connect-plugin
はMonaca上での利用が可能です。
When I tested with new register user which avatar is not set, the Android app crash.
Because the profile.getPictureUrl()
at
https://github.com/nrikiji/cordova-line-login-plugin/blob/master/src/android/LineLogin.java#L78
is null. I am wondering if you have the same situation for no avatar account.
So I suggest change this line to the following code:
...
if (profile.getPictureUrl() != null) {
json.put("pictureURL", profile.getPictureUrl().toString());
}
...
Thanks for your consideration!
Cordova 8.0 / Ionic 4.1 / Cordova Android 7.1.1
上記環境でのビルドにおいて、ログイン時の連携画面が開かなくなりました。
ログにはエラーがCan't resolve *.ngfactory.jsというものが出ております。
Hi, I can't build on andorid and error on "LineAccessToken" ( LineLogin.java line53)
please add "import com.linecorp.linesdk.LineAccessToken;" into LineLogin.java
thanks!
https://github.com/nrikiji/cordova-line-login-plugin/blob/master/src/android/line.gradle
There's an error when building Android Could not find com.linecorp:linesdk:5.3.1.
line.gradle repositories
and dependencies
are updated in Line SDK documentation.
https://developers.line.biz/en/docs/android-sdk/integrate-line-login/#add-line-sdk-dependency
I am a student from Taiwan,
and I want to develop a Cordova app to my school,
but I just want to use pure javascript without any framework.
Can you give a example with Pure Javascript please?
いつもお世話になります!
Capacitorでアプリ開発をしています。(ただし、ionicではなく、Quasarというフレームワーク)
ionicと関係ないCapacitorだけのインストールと使い方のガイドの協力をお願いできますでしょうか。
ありがとうございます。
is error when i run rebuild project
Android resource linking failed
/Users/brownie/.gradle/caches/transforms-1/files-1.1/line-sdk-5.3.1.aar/f1ce6cf883d4f5220af5a5781d728037/res/layout/dialog_send_message.xml:7: error: attribute layout_constraintEnd_toEndOf (aka com.zerite.smartfixhome:layout_constraintEnd_toEndOf) not found.
/Users/brownie/.gradle/caches/transforms-1/files-1.1/line-sdk-5.3.1.aar/f1ce6cf883d4f5220af5a5781d728037/res/layout/dialog_send_message.xml:7: error: attribute layout_constraintStart_toStartOf (aka com.zerite.smartfixhome:layout_constraintStart_toStartOf) not found.
/Users/brownie/.gradle/caches/transforms-1/files-1.1/line-sdk-5.3.1.aar/f1ce6cf883d4f5220af5a5781d728037/res/layout/dialog_send_message.xml:7: error: attribute layout_constraintTop_toTopOf (aka com.zerite.smartfixhome:layout_constraintTop_toTopOf) not found.
/Users/brownie/.gradle/caches/transforms-1/files-1.1/line-sdk-5.3.1.aar/f1ce6cf883d4f5220af5a5781d728037/res/layout/dialog_send_message.xml:22: error: attribute layout_constraintEnd_toEndOf (aka com.zerite.smartfixhome:layout_constraintEnd_toEndOf) not found.
/Users/brownie/.gradle/caches/transforms-1/files-1.1/line-sdk-5.3.1.aar/f1ce6cf883d4f5220af5a5781d728037/res/layout/dialog_send_message.xml:22: error: attribute layout_constraintStart_toStartOf (aka com.zerite.smartfixhome:layout_constraintStart_toStartOf) not found.
/Users/brownie/.gradle/caches/transforms-1/files-1.1/line-sdk-5.3.1.aar/f1ce6cf883d4f5220af5a5781d728037/res/layout/dialog_send_message.xml:22: error: attribute layout_constraintTop_toBottomOf (aka com.zerite.smartfixhome:layout_constraintTop_toBottomOf) not found.
/Users/brownie/.gradle/caches/transforms-1/files-1.1/line-sdk-5.3.1.aar/f1ce6cf883d4f5220af5a5781d728037/res/layout/dialog_send_message.xml:39: error: attribute layout_constraintBottom_toBottomOf (aka com.zerite.smartfixhome:layout_constraintBottom_toBottomOf) not found.
/Users/brownie/.gradle/caches/transforms-1/files-1.1/line-sdk-5.3.1.aar/f1ce6cf883d4f5220af5a5781d728037/res/layout/dialog_send_message.xml:51: error: attribute layout_constraintBottom_toTopOf (aka com.zerite.smartfixhome:layout_constraintBottom_toTopOf) not found.
/Users/brownie/.gradle/caches/transforms-1/files-1.1/line-sdk-5.3.1.aar/f1ce6cf883d4f5220af5a5781d728037/res/layout/dialog_send_message.xml:51: error: attribute layout_constraintTop_toBottomOf (aka com.zerite.smartfixhome:layout_constraintTop_toBottomOf) not found.
/Users/brownie/.gradle/caches/transforms-1/files-1.1/line-sdk-5.3.1.aar/f1ce6cf883d4f5220af5a5781d728037/res/layout/dialog_send_message.xml:58: error: attribute layout_constraintBottom_toTopOf (aka com.zerite.smartfixhome:layout_constraintBottom_toTopOf) not found.
/Users/brownie/.gradle/caches/transforms-1/files-1.1/line-sdk-5.3.1.aar/f1ce6cf883d4f5220af5a5781d728037/res/layout/dialog_send_message.xml:58: error: attribute layout_constraintTop_toBottomOf (aka com.zerite.smartfixhome:layout_constraintTop_toBottomOf) not found.
/Users/brownie/.gradle/caches/transforms-1/files-1.1/line-sdk-5.3.1.aar/f1ce6cf883d4f5220af5a5781d728037/res/layout/layout_select_target.xml:8: error: attribute layout_constraintEnd_toEndOf (aka com.zerite.smartfixhome:layout_constraintEnd_toEndOf) not found.
/Users/brownie/.gradle/caches/transforms-1/files-1.1/line-sdk-5.3.1.aar/f1ce6cf883d4f5220af5a5781d728037/res/layout/layout_select_target.xml:8: error: attribute layout_constraintStart_toStartOf (aka com.zerite.smartfixhome:layout_constraintStart_toStartOf) not found.
/Users/brownie/.gradle/caches/transforms-1/files-1.1/line-sdk-5.3.1.aar/f1ce6cf883d4f5220af5a5781d728037/res/layout/layout_select_target.xml:8: error: attribute layout_constraintTop_toTopOf (aka com.zerite.smartfixhome:layout_constraintTop_toTopOf) not found.
/Users/brownie/.gradle/caches/transforms-1/files-1.1/line-sdk-5.3.1.aar/f1ce6cf883d4f5220af5a5781d728037/res/layout/layout_select_target.xml:21: error: attribute layout_constraintBottom_toBottomOf (aka com.zerite.smartfixhome:layout_constraintBottom_toBottomOf) not found.
/Users/brownie/.gradle/caches/transforms-1/files-1.1/line-sdk-5.3.1.aar/f1ce6cf883d4f5220af5a5781d728037/res/layout/layout_select_target.xml:21: error: attribute layout_constraintEnd_toEndOf (aka com.zerite.smartfixhome:layout_constraintEnd_toEndOf) not found.
/Users/brownie/.gradle/caches/transforms-1/files-1.1/line-sdk-5.3.1.aar/f1ce6cf883d4f5220af5a5781d728037/res/layout/layout_select_target.xml:21: error: attribute layout_constraintStart_toStartOf (aka com.zerite.smartfixhome:layout_constraintStart_toStartOf) not found.
/Users/brownie/.gradle/caches/transforms-1/files-1.1/line-sdk-5.3.1.aar/f1ce6cf883d4f5220af5a5781d728037/res/layout/layout_select_target.xml:21: error: attribute layout_constraintTop_toBottomOf (aka com.zerite.smartfixhome:layout_constraintTop_toBottomOf) not found.
/Users/brownie/.gradle/caches/transforms-1/files-1.1/line-sdk-5.3.1.aar/f1ce6cf883d4f5220af5a5781d728037/res/layout/layout_select_target.xml:32: error: attribute layout_constraintBottom_toBottomOf (aka com.zerite.smartfixhome:layout_constraintBottom_toBottomOf) not found.
/Users/brownie/.gradle/caches/transforms-1/files-1.1/line-sdk-5.3.1.aar/f1ce6cf883d4f5220af5a5781d728037/res/layout/layout_select_target.xml:32: error: attribute layout_constraintEnd_toEndOf (aka com.zerite.smartfixhome:layout_constraintEnd_toEndOf) not found.
以下のエラーが this.lineLogin.login().then((authResponse: LineLoginProfile) => {
後に出ます。
何か設定が必要でしょうか??
/// The received
URL object while opening the app does not match the defined URL scheme. Code 3005.
https://github.com/line/line-sdk-ios-swift/blob/7b3db8ce6360576dda966313417b509861517b39/LineSDK/LineSDK/General/LineSDKError.swift#L107
環境です
Ionic:
Ionic CLI : 5.4.13 (/Users/kntmrkm/.nodenv/versions/12.3.0/lib/node_modules/ionic)
Ionic Framework : ionic-angular 3.9.9
@ionic/app-scripts : 3.2.4
Cordova:
Cordova CLI : 9.0.0 ([email protected])
Cordova Platforms : android 8.0.0, ios 5.1.1
Cordova Plugins : cordova-plugin-ionic-keyboard 2.1.3, cordova-plugin-ionic-webview 4.0.1, (and 23 other plugins)
Utility:
cordova-res : not installed
native-run : 0.3.0
System:
Android SDK Tools : 26.1.1 (/Users/kntmrkm/Library/Android/sdk)
ios-deploy : 1.10.0
ios-sim : 8.0.1
NodeJS : v12.3.0 (/Users/kntmrkm/.nodenv/versions/12.3.0/bin/node)
npm : 6.13.1
OS : macOS Catalina
Xcode : Xcode 11.3 Build version 11C29
また、
-canOpenURL: failed for URL: "lineauth2://authorize/" - error: "操作を完了できませんでした。(OSStatusエラー-10814)"
上記エラーは以下の設定が必要そうです(pluginの追加では設定されませんでした)。
やるだけ
As title, is there any standard installation document for cordova-line-login-plugin? There are too many installation problems.....
The way to repreduce errors:
create a blank cordova project
$ ionic start myApp tabs
$ cd myApp/
$ ionic integrations enable cordova
add line-login plugin
ionic cordova plugin add cordova-line-login-plugin
add UseSwiftLanguageVersion to config.xml
$ ionic cordova platform add ios
Installed platforms:
ios 5.1.1
cordova-line-login-plugin 1.2.10 "Line Login"
cordova-plugin-add-swift-support 2.0.2 "AddSwiftSupport"
cordova-plugin-device 2.0.2 "Device"
cordova-plugin-ionic-keyboard 2.2.0 "cordova-plugin-ionic-keyboard"
cordova-plugin-ionic-webview 4.2.1 "cordova-plugin-ionic-webview"
cordova-plugin-splashscreen 5.0.2 "Splashscreen"
cordova-plugin-statusbar 2.4.2 "StatusBar"
cordova-plugin-whitelist 1.3.3 "Whitelist"
no "cordova-plugin-carthage-support" installed?
$ ionic cordova build ios
no signing key, open MyApp.xcworkspace fix signing problem and rebuild again
$ ionic cordova build ios
fatal error: module map file
'/Users/avex/Library/Developer/Xcode/DerivedData/MyApp-gcuoljcfxlqaxndkadkejyyxrabp/Build/Products/Debug-iphonesimulator/LineSDKSwift/LineSDK.modulemap'
not found
1 error generated.
ERROR OCCURRED
install carthage support
ionic cordova plugin add cordova-plugin-carthage-support
rebuild ios
$ ionic cordova build ios
PASSED
Prepared iOS project successfully
Executing script found in plugin cordova-plugin-add-swift-support for hook "after_prepare": plugins/cordova-plugin-add-swift-support/src/add-swift-support.js
Executing script found in plugin cordova-plugin-carthage-support for hook "after_prepare": plugins/cordova-plugin-carthage-support/scripts/modify_pbxproj.js
here..... cordova-plugin-carthage-support post run-script crashed cordova run procedure without any error message
app package is built, but nothing in real iphone device
I get Error: Use of undeclared identifier 'LineSDKLoginManager' in AppDelegate+LineLogin.m
https://imgur.com/a/u07bcYk
Please help me. I try to fix it around 7hours T T
Thank you for writing this plugin.
I have an error when I try to login in iOS simulator:
Error Domain=LineSDKInternalErrorDomain Code=2 "Cannot open the return URL. (line3rdp.com.xxxx://authorize/).
Line setup:
iOS bundle ID : com.xxxx
iOS scheme : line3rdp.com.xxxx
I'm my missing something?
code: -3
description: "java.util.NoSuchElementException: response data is null. Please check result by isSuccess before."
It's a big problem when old cordova project needs to re-add(remove/add) platform. Everything becomes a mess .
to prove
create a blank cordova project
$ ionic start myApp tabs
$ cd myApp/
$ ionic integrations enable cordova
add line-login plugin
$ ionic cordova plugin add [email protected]
add UseSwiftLanguageVersion to config.xml
Use Swift language version 5
Error: Command failed: carthage update --platform iOS
Please update to the latest Carthage version: 0.36.0. You currently are on 0.33.0
Build Failed
Task failed with exit code 65:
/usr/bin/xcrun xcodebuild -workspace /Users/avex/projects/ws_gassist/myApp/platforms/ios/Carthage/Checkouts/line-sdk-ios-swift/LineSDK.xcworkspace -scheme LineSDK -configuration Release -derivedDataPath /Users/avex/Library/Caches/org.carthage.CarthageKit/DerivedData/11.2.1_11B500/line-sdk-ios-swift/5.7.0 -sdk iphoneos ONLY_ACTIVE_ARCH=NO CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES archive -archivePath /var/folders/kp/dt73_b753xq0qrr7ysft34h80000gn/T/line-sdk-ios-swift SKIP_INSTALL=YES GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=NO CLANG_ENABLE_CODE_COVERAGE=NO STRIP_INSTALLED_PRODUCT=NO (launched in /Users/avex/projects/ws_gassist/myApp/platforms/ios/Carthage/Checkouts/line-sdk-ios-swift)
This usually indicates that project itself failed to compile. Please check the xcodebuild log for more details: /var/folders/kp/dt73_b753xq0qrr7ysft34h80000gn/T/carthage-xcodebuild.FUjAfL.log
at ChildProcess.exithandler (child_process.js:303:12)
at ChildProcess.emit (events.js:315:20)
at maybeClose (internal/child_process.js:1021:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5) {
killed: false,
code: 1,
signal: null,
cmd: 'carthage update --platform iOS'
} Please update to the latest Carthage version: 0.36.0. You currently are on 0.33.0
Build Failed
Task failed with exit code 65:
not compatible ? why?
cordova-line-login-plugin 1.2.2 "Line Login"
cordova-plugin-add-swift-support 2.0.2 "AddSwiftSupport"
cordova-plugin-carthage-support 1.0.0 "Cordova Plugin Carthage Support"
cordova-plugin-device 2.0.2 "Device"
cordova-plugin-ionic-keyboard 2.2.0 "cordova-plugin-ionic-keyboard"
cordova-plugin-ionic-webview 4.2.1 "cordova-plugin-ionic-webview"
cordova-plugin-splashscreen 5.0.2 "Splashscreen"
cordova-plugin-statusbar 2.4.2 "StatusBar"
cordova-plugin-whitelist 1.3.3 "Whitelist"
cordova-plugin-carthage-support==1.0.0 ? NEWEST ONE NOT COMPATIBLE with 1.2.2?
downgrade carthage to 0.1.1
$ ionic cordova plugin rm cordova-plugin-carthage-support --force
$ ionic cordova plugin add [email protected]
re-add platform ios
$ ionic cordova platform rm ios
$ ionic cordova platform add ios
SUCCESS
SUCCESS
SUCCESS
先日はご対応頂きまして有難うございました。
ご相談なのですが、cordova-line-login-pluginをラッパーするIonic Nativeプラグインの作成のご対応をお願いをしたいのですが可能でしょうか。
何卒、よろしくお願い致します。
iOS:5.3.1
Android:5.1.1
Hi,
Same configuration, Same account, I success process of line login on android device.
but failed on iOS with this message
{"sdkErrorCode":3003,"description":"User cancelled or interrupted the login process.","code":-2}
When click LINE login button on my app, switch LINE app and every login process is ok.
and then, switch again my app and I received this message.
please help me
Hello, I have using LineSDK to set up my social line login, that was success login and logout working good in android. But unfortunately, something is wrong with IOS, I don't get does it bug or not.
Once Logout by *.logout() of line plugin, the system response to me the message "Fatal error: [LineSDK] use AccessTokenStore before setup. Please call LoginManager.setup
before you do any other thing in LineSDK".
When I using ios to log in is still ok, success login. But I got the above error when I take logout.
Please help!
I am using:
Ionic:
Ionic CLI : 6.17.1 (C:\Users\user\AppData\Roaming\npm\node_modules@ionic\cli)
Ionic Framework : @ionic/vue 5.7.0
Capacitor:
Capacitor CLI : 3.1.2
@capacitor/android : 3.2.2
@capacitor/core : 3.2.0
@capacitor/ios : 3.2.1
Utility:
cordova-res : 0.15.3
native-run : 1.4.0
System:
NodeJS : v14.17.4 (C:\Program Files\nodejs\node.exe)
npm : 6.14.14
OS : Windows 10
I'm trying to use your plugins inside my quasar project + cordova.
I've initialize the channel_id on mounted() as follow
`mounted() {
document.addEventListener('deviceready', onDeviceReady, false)
function onDeviceReady() {
lineLogin.initialize({ channel_id: '1655706086' })
}
},`
then i have method liek the following
onLineLogin() { lineLogin.login( function(result) { console.log(result) // {userID:12345, displayName:'user name', pictureURL:'thumbnail url'} }, function(error) { console.log(error) }, ) },
when i run it on emulator. try to initiate the onLineLogin method, i got the following error
{ "code": -2, "sdkErrorCode": "NETWORK_ERROR", "description": "LineLoginResult{responseCode=NETWORK_ERROR, nonce='null', lineProfile=null, lineIdToken=null, friendshipStatusChanged=null, lineCredential=null, errorData=LineApiError{httpResponseCode=-1, message='javax.net.ssl.SSLHandshakeException: Chain validation failed\n\tat com.android.org.conscrypt.SSLUtils.toSSLHandshakeException(SSLUtils.java:363)\n\tat com.android.org.conscrypt.ConscryptEngine.convertException(ConscryptEngine.java:1134)\n\tat com.android.org.conscrypt.ConscryptEngine.readPlaintextData(ConscryptEngine.java:1089)\n\tat com.android.org.conscrypt.ConscryptEngine.unwrap(ConscryptEngine.java:876)\n\tat com.android.org.conscrypt.ConscryptEngine.unwrap(ConscryptEngine.java:747)\n\tat com.android.org.conscrypt.ConscryptEngine.unwrap(ConscryptEngine.java:712)\n\tat com.android.org.conscrypt.ConscryptEngineSocket$SSLInputStream.processDataFromSocket(ConscryptEngineSocket.java:858)\n\tat com.android.org.conscrypt.ConscryptEngineSocket$SSLInputStream.access$100(ConscryptEngineSocket.java:731)\n\tat com.android.org.conscrypt.ConscryptEngineSocket.doHandshake(ConscryptEngineSocket.java:241)\n\tat com.android.org.conscrypt.ConscryptEngineSocket.startHandshake(ConscryptEngineSocket.java:220)\n\tat com.android.okhttp.internal.io.RealConnection.connectTls(RealConnection.java:196)\n\tat com.android.okhttp.internal.io.RealConnection.connectSocket(RealConnection.java:153)\n\tat com.android.okhttp.internal.io.RealConnection.connect(RealConnection.java:116)\n\tat com.android.okhttp.internal.http.StreamAllocation.findConnection(StreamAllocation.java:186)\n\tat com.android.okhttp.internal.http.StreamAllocation.findHealthyConnection(StreamAllocation.java:128)\n\tat com.android.okhttp.internal.http.StreamAllocation.newStream(StreamAllocation.java:97)\n\tat com.android.okhttp.internal.http.HttpEngine.connect(HttpEngine.java:289)\n\tat com.android.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:232)\n\tat com.android.okhttp.internal.huc.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:465)\n\tat com.android.okhttp.internal.huc.HttpURLConnectionImpl.connect(HttpURLConnectionImpl.java:131)\n\tat com.android.okhttp.internal.huc.DelegatingHttpsURLConnection.connect(DelegatingHttpsURLConnection.java:90)\n\tat com.android.okhttp.internal.huc.HttpsURLConnectionImpl.connect(HttpsURLConnectionImpl.java:30)\n\tat com.linecorp.linesdk.internal.nwclient.core.ChannelServiceHttpClient.post(ChannelServiceHttpClient.java:91)\n\tat com.linecorp.linesdk.internal.nwclient.LineAuthenticationApiClient.getOneTimeIdAndPassword(LineAuthenticationApiClient.java:92)\n\tat com.linecorp.linesdk.auth.internal.LineAuthenticationController$RequestTokenRequestTask.doInBackground(LineAuthenticationController.java:117)\n\tat com.linecorp.linesdk.auth.internal.LineAuthenticationController$RequestTokenRequestTask.doInBackground(LineAuthenticationController.java:110)\n\tat android.os.AsyncTask$3.call(AsyncTask.java:394)\n\tat java.util.concurrent.FutureTask.run(FutureTask.java:266)\n\tat android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:305)\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)\n\tat java.lang.Thread.run(Thread.java:920)\nCaused by: java.security.cert.CertificateException: Chain validation failed\n\tat com.android.org.conscrypt.TrustManagerImpl.verifyChain(TrustManagerImpl.java:719)\n\tat com.android.org.conscrypt.TrustManagerImpl.checkTrustedRecursive(TrustManagerImpl.java:549)\n\tat com.android.org.conscrypt.TrustManagerImpl.checkTrustedRecursive(TrustManagerImpl.java:570)\n\tat com.android.org.conscrypt.TrustManagerImpl.checkTrustedRecursive(TrustManagerImpl.java:615)\n\tat com.android.org.conscrypt.TrustManagerImpl.checkTrusted(TrustManagerImpl.java:505)\n\tat com.android.org.conscrypt.TrustManagerImpl.checkTrusted(TrustManagerImpl.java:425)\n\tat com.android.org.conscrypt.TrustManagerImpl.getTrustedChainForServer(TrustManagerImpl.java:353)\n\tat android.security.net.config.NetworkSecurityTrustManager.checkServerTrusted(NetworkSecurityTrustManager.java:94)\n\tat android.security.net.config.RootTrustManager.checkServerTrusted(RootTrustManager.java:90)\n\tat com.android.org.conscrypt.ConscryptEngineSocket$2.checkServerTrusted(ConscryptEngineSocket.java:163)\n\tat com.android.org.conscrypt.Platform.checkServerTrusted(Platform.java:255)\n\tat com.android.org.conscrypt.ConscryptEngine.verifyCertificateChain(ConscryptEngine.java:1638)\n\tat com.android.org.conscrypt.NativeCrypto.ENGINE_SSL_read_direct(Native Method)\n\tat com.android.org.conscrypt.NativeSsl.readDirectByteBuffer(NativeSsl.java:569)\n\tat com.android.org.conscrypt.ConscryptEngine.readPlaintextDataDirect(ConscryptEngine.java:1095)\n\tat com.android.org.conscrypt.ConscryptEngine.readPlaintextData(ConscryptEngine.java:1079)\n\t... 29 more\nCaused by: java.security.cert.CertPathValidatorException: Response is unreliable: its validity interval is out-of-date\n\tat sun.security.provider.certpath.PKIXMasterCertPathValidator.validate(PKIXMasterCertPathValidator.java:135)\n\tat sun.security.provider.certpath.PKIXCertPathValidator.validate(PKIXCertPathValidator.java:222)\n\tat sun.security.provider.certpath.PKIXCertPathValidator.validate(PKIXCertPathValidator.java:140)\n\tat sun.security.provider.certpath.PKIXCertPathValidator.engineValidate(PKIXCertPathValidator.java:79)\n\tat java.security.cert.CertPathValidator.validate(CertPathValidator.java:301)\n\tat com.android.org.conscrypt.TrustManagerImpl.verifyChain(TrustManagerImpl.java:715)\n\t... 44 more\nCaused by: java.security.cert.CertPathValidatorException: Response is unreliable: its validity interval is out-of-date\n\tat sun.security.provider.certpath.OCSPResponse.verify(OCSPResponse.java:619)\n\tat sun.security.provider.certpath.RevocationChecker.checkOCSP(RevocationChecker.java:709)\n\tat sun.security.provider.certpath.RevocationChecker.check(RevocationChecker.java:363)\n\tat sun.security.provider.certpath.RevocationChecker.check(RevocationChecker.java:337)\n\tat sun.security.provider.certpath.PKIXMasterCertPathValidator.validate(PKIXMasterCertPathValidator.java:125)\n\t... 49 more\n\tSuppressed: java.security.cert.CertPathValidatorException: Could not determine revocation status\n\t\tat sun.security.provider.certpath.RevocationChecker.buildToNewKey(RevocationChecker.java:1092)\n\t\tat sun.security.provider.certpath.RevocationChecker.verifyWithSeparateSigningKey(RevocationChecker.java:910)\n\t\tat sun.security.provider.certpath.RevocationChecker.checkCRLs(RevocationChecker.java:577)\n\t\tat sun.security.provider.certpath.RevocationChecker.checkCRLs(RevocationChecker.java:465)\n\t\tat sun.security.provider.certpath.RevocationChecker.check(RevocationChecker.java:394)\n\t\t... 51 more\n'}}" }
could you help me. i need to use this plugin for my company project
cordova build ios
##### Create Cartfile
##### Update Carthage
carthage bootstrap --platform iOS --cache-builds
Error: console.err is not a function
[ERROR] An error occurred while running subprocess cordova.
cordova build ios exited with exit code 1.
Re-running this command with the --verbose flag may provide more information.
when run cordova build ios, then I got this error.
anyone can help me?
プラグインの作成と公開、心より感謝しております。
表題についてなのですが
Profileではなく、アクセストークンや
電子メールアドレスを取得し、ionic appへ値を渡したいのですが
swiftとjavaの両ファイルを読み比べていたものの
詰まってしまいました。
手がかりになるようなことをご教授いただければ幸いです。
Showing the loading and the Line Verification screen to Allow permission. Finally, Showing a Toast message saying "Login Successful!" but no response in the promise.
Following are the dependencies.
"@ionic-native/line-login": "^4.20.0",
"cordova-line-login-plugin": "^1.2.11",
"ionic-angular": "3.9.9", or "ionic-angular": "3.9.2",
I try to build ios and have error say
No such module 'LineSDK' in LineLogin.swift file
やるだけ
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
お世話になっております。
IOS側しか試してないのですが、Safariよりdeeplinkで起動時に無限ループでアプリが落ちてしまう現象が出まして、少し見たところ
AppDelegate+LineLogin.m
メソッドが呼び出され続け、
NSRange range = [url.absoluteString rangeOfString:@"line3rdp"];
の処理が何回か呼び出された後
Thread 1: EXC_BAD_ACCESS (code=2,..
になり落ちる感じでした。
改修をお願いしたいのですが可能でしょうか。
お手数お掛けしますが、何卒、宜しくお願い致します。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.