Code Monkey home page Code Monkey logo

cordova-line-login-plugin's People

Contributors

nrikiji avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

cordova-line-login-plugin's Issues

"Code" field is needed for a backend server

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.

「iOS Scheme」とは

すばらしいプラグインありがとうございます。

「iOS Scheme」を設定

はどこでどうやって設定できるかご教示していただけませんでしょうか。
現在 developer consoleで以下の項目しか見当たらないです。

image

トークンの有効期限

先日はありがとうございました。

アクセストークン取得時に
トークンの有効期限が一緒に取得できると
AWSのcognitoを経由してOpen ID connectができることがわかりました。
お忙しいところ恐縮ではありますが
トークンの有効期限の取得ができると大変助かります。

何卒よろしくお願いいたします。

Android app crash for no avatar user login

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!

Android build error

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!

How can I define a "lineLogin" variable?

Hi
I use your plugin
I am testing the implementation of line login in the react source, the webview of my cordova mobile app.
But I'm not sure how to define the name lineLogin Can you help me?

  • here is yore usage
    git

  • here is my study project

local
local2

Pure Javascript Problem.

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のインストール情報

いつもお世話になります!
Capacitorでアプリ開発をしています。(ただし、ionicではなく、Quasarというフレームワーク)

ionicと関係ないCapacitorだけのインストールと使い方のガイドの協力をお願いできますでしょうか。

ありがとうございます。

error Android resource linking failed

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.

LineSDK error `The received `URL` while opening app does not match the URL scheme defined.", "sdkErrorCode"=>3005`

以下のエラーが 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の追加では設定されませんでした)。

CleanShot 2020-01-11 at 13 01 48

Cordova run device procedure is crashed by line login 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:

  1. create a blank cordova project
    $ ionic start myApp tabs
    $ cd myApp/
    $ ionic integrations enable cordova

  2. add line-login plugin
    ionic cordova plugin add cordova-line-login-plugin

  3. add UseSwiftLanguageVersion to config.xml

4. add ios platform

$ ionic cordova platform add ios

Installed platforms:
  ios 5.1.1
  1. list cordova plugins
    $ ionic cordova plugin ls
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?

  1. buid ios anyway

$ 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

  1. install carthage support
    ionic cordova plugin add cordova-plugin-carthage-support

  2. rebuild ios
    $ ionic cordova build ios

PASSED

  1. run device with verbose(debugging message)
    $ ionic cordova run ios --no-native-run --verbose
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

Hi

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?

ionic 5 Android

code: -3
description: "java.util.NoSuchElementException: response data is null. Please check result by isSuccess before."

Incorrect cordova-plugin-carthage-support version used while install [email protected]

It's a big problem when old cordova project needs to re-add(remove/add) platform. Everything becomes a mess .

to prove

  1. create a blank cordova project
    $ ionic start myApp tabs
    $ cd myApp/
    $ ionic integrations enable cordova

  2. add line-login plugin
    $ ionic cordova plugin add [email protected]

  3. add UseSwiftLanguageVersion to config.xml

  1. add ios platform
    $ ionic cordova platform add ios
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?

  1. cordova list plugin
    $ ionic cordova plugin ls
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?

  1. downgrade carthage to 0.1.1
    $ ionic cordova plugin rm cordova-plugin-carthage-support --force
    $ ionic cordova plugin add [email protected]

  2. re-add platform ios
    $ ionic cordova platform rm ios
    $ ionic cordova platform add ios

SUCCESS

  1. build ios
    $ ionic cordova build ios

SUCCESS

  1. run device with verbose
    $ ionic cordova run ios --no-native-run --verbose

SUCCESS

ionic-native対応について

先日はご対応頂きまして有難うございました。
ご相談なのですが、cordova-line-login-pluginをラッパーするIonic Nativeプラグインの作成のご対応をお願いをしたいのですが可能でしょうか。
何卒、よろしくお願い致します。

How to call LoginManager.setup in IOS

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

please help, trying to understand how to use this package

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

[ERROR] An error occurred while running subprocess cordova.

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?

AccessTokenなどの取得

プラグインの作成と公開、心より感謝しております。
表題についてなのですが
Profileではなく、アクセストークンや
電子メールアドレスを取得し、ionic appへ値を渡したいのですが
swiftとjavaの両ファイルを読み比べていたものの
詰まってしまいました。
手がかりになるようなことをご教授いただければ幸いです。

Login function not returning the success or failed response

  1. Is this compatible with ionic-angular 3.9.*?
  2. The plugins works fine for ionic 5 but it doesn't return anything for ionic 3
  3. Simply no response on login api call.

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

IOS 無限ループになりアプリが落ちる

お世話になっております。

IOS側しか試してないのですが、Safariよりdeeplinkで起動時に無限ループでアプリが落ちてしまう現象が出まして、少し見たところ

AppDelegate+LineLogin.m

  • (BOOL)line_application_options: (UIApplication *)app
    openURL: (NSURL *)url
    options: (NSDictionary *)options

メソッドが呼び出され続け、

NSRange range = [url.absoluteString rangeOfString:@"line3rdp"];
の処理が何回か呼び出された後
Thread 1: EXC_BAD_ACCESS (code=2,..
になり落ちる感じでした。

改修をお願いしたいのですが可能でしょうか。
お手数お掛けしますが、何卒、宜しくお願い致します。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.