GithubHelp home page GithubHelp logo

Comments (2)

verny-tran avatar verny-tran commented on June 3, 2024 1

Yes of course I have added the lineauth2 query scheme, and I also acknowledged that it'll fallback to AppAuthSchemeFlow if fails.

-> But my colleagues doesn't want to use the AppUniversalLinkFlow at all.

Screenshot 2023-10-25 at 09 21 16

Because their opinion is:

"If you have the LINE app installed but are not currently logged in. Then, rather than navigating to the Safari webpage, you should stop at the app to login."

-> As a result, I have this inquiry. But, since you've informed that there are no other possibilities, I believe I'll have to explain the issue to them. Thank you very much for your assistance.

from line-sdk-ios-swift.

onevcat avatar onevcat commented on June 3, 2024

Ummm, I guess there is now no option to skip the AppUniversalLinkFlow. However, if set correctly, the AppAuthSchemeFlow should also work as a fallback if the AppUniversalLinkFlow fails. Can you confirm that you have added the lineauth2 to the query scheme in your Info.plist?

<key>LSApplicationQueriesSchemes</key>
<array>
    <!-- Specify URL scheme to use when launching LINE from your app. -->
    <string>lineauth2</string>
</array>

It is necessary for LINE SDK to determine whether LINE is installed on the device, due to the limitation of iOS's canOpenURL(_:) method.

If you link your app on or after iOS 9.0, you must declare the URL schemes you pass to this method by adding the LSApplicationQueriesSchemes key to your app's Info.plist file. This method always returns false for undeclared schemes, even if the device doesn’t have a registered app installed. Apps linked on or after iOS 15 are limited to a maximum of 50 entries in the LSApplicationQueriesSchemes key. To learn more about the key, see LSApplicationQueriesSchemes.

from line-sdk-ios-swift.

Related Issues (20)

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.