Code Monkey home page Code Monkey logo

link_kit's People

Contributors

droplet-js avatar lwj1994 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

lwj1994

link_kit's Issues

Failed to load 'link_kit' podspec:

按步骤执行的,pod install时ios报这个错误。。。

[!] Failed to load 'link_kit' podspec:
[!] Invalid link_kit.podspec file: Alias parsing was not enabled. To enable it, pass aliases: true to Psych::load or Psych::safe_load..

from /Users/suya/StudioProjects/miyue_fm/ios/.symlinks/plugins/link_kit/ios/link_kit.podspec:13

-------------------------------------------

flutter_project_dir = calling_dir.slice(0..(calling_dir.index('/ios/.symlinks')))

cfg = YAML.load_file(File.join(flutter_project_dir, 'pubspec.yaml'))

if cfg['link_kit'] && cfg['link_kit']['deep_link']

link_kit 1.0.1 安装导致其他依赖报错

环境:flutter3.3.0
版本:link_kit:1.0.1
使用方式:link_kit:
deep_link: xxxxx:///
以上在使用的过程中,会导致很多其他的项目依赖,找不到文件报错

image
image

小米上架审核不通过

APP向用户明示SDK的收集使用规则,未经用户同意,SDK存在收集io.github.v7lin,io.flutter.embedding获取安装列表的行为。
这个queryIntentActivitiesAsUser小米不允许😓

android.app.ApplicationPackageManager.queryIntentActivitiesAsUser(ApplicationPackageManager.java:1019)
android.app.ApplicationPackageManager.queryIntentActivities(ApplicationPackageManager.java:992)
io.github.v7lin.link_kit.LinkKitPlugin.isFLKIntent(LinkKitPlugin.java:139)
io.github.v7lin.link_kit.LinkKitPlugin.onNewIntent(LinkKitPlugin.java:108)
io.flutter.embedding.engine.FlutterEngineConnectionRegistry$FlutterEngineActivityPluginBinding.onNewIntent(FlutterEngineConnectionRegistry.java:830)
io.flutter.embedding.engine.FlutterEngineConnectionRegistry.onNewIntent(FlutterEngineConnectionRegistry.java:446)
io.flutter.embedding.android.FlutterActivityAndFragmentDelegate.onNewIntent(FlutterActivityAndFragmentDelegate.java:777)
io.flutter.embedding.android.FlutterActivity.onNewIntent(FlutterActivity.java:733)
android.app.Activity.performNewIntent(Activity.java:7082)
android.app.Instrumentation.callActivityOnNewIntent(Instrumentation.java:1309)
android.app.Instrumentation.callActivityOnNewIntent(Instrumentation.java:1321)
android.app.ActivityThread.deliverNewIntents(ActivityThread.java:3267)
android.app.ActivityThread.performNewIntents(ActivityThread.java:3283)
android.app.ActivityThread.handleNewIntent(ActivityThread.java:3299)
android.app.ActivityThread.-wrap14(Unknown Source:0)
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1999)
android.os.Handler.dispatchMessage(Handler.java:106)
android.os.Looper.loop(Looper.java:164)
android.app.ActivityThread.main(ActivityThread.java:6843)
java.lang.reflect.Method.invoke(Native Method)
com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)	

iOS 的 universal link 需要增加一个白名单配置

ios 的 微信分享和 qq 分享都无法生效。因为 微信和 qq 第一次会进行 auth token 验证,请求一个

https://myapp.com/wx3d8042915c8270fc/refreshToken?wechat_auth_token=e4a91f587cfdc042802eaaff54b7f7046aed92451b14b838703d11490360ca_MTY3NjUzODc0MQ%3D%3D&wechat_auth_context_id=72cb1356a15 这样的 url,这个 url 会被 link_kit 拦截,使得 微信/qq 的 sdk 无法接收到这个 url.

qq 的 universal path 是固定 /qqcon/ 开头的,但是微信可以随意配置。所以最好加一个增加白名单配置的功能。

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.