Git Product home page Git Product logo

jdkit's Introduction

@TOC

文档地址:https://baiyuliang.blog.csdn.net/article/details/134444104

京东联盟flutter插件地址:https://pub.dev/packages/jdkit

在这里插入图片描述

1.京东联盟官网注册申请步骤略~

2.安卓端插件配置:

1)将申请的安全图片,safe.jpg放在flutter项目,android主工程res/raw下:

在这里插入图片描述

2)从github上,将jdsdk文件夹下载下来,并放入anrdoid主工程下:

在这里插入图片描述

3)修改jdsdk中的AndroidMainfest.xml:

  <activity
      android:name="com.kepler.jd.sdk.KeplerBackActivity"
      android:exported="true"
      android:theme="@android:style/Theme.Translucent">
      <intent-filter>
          <action android:name="android.intent.action.VIEW" />
          <category android:name="android.intent.category.DEFAULT" />
          <data android:scheme="sdkback49d5d16d4f8ba1411c2c1533c2308a47" />
      </intent-filter>
  </activity>

将scheme:sdkback后的key修改为自己的!

4)android主工程 settings.gradle中添加:include ':jdsdk'

3.IOS端插件配置

1)将申请的安全图片safe.jpg,放入IOS主工程Runner/bundle文件夹下:

在这里插入图片描述

4.其它配置

其它配置,请按京东联盟官方文档进行配置!

jdkit's People

Contributors

baiyuliang avatar

Watchers

 avatar

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.