GithubHelp home page GithubHelp logo

millionakking / flutter_jdsdk Goto Github PK

View Code? Open in Web Editor NEW

This project forked from selfimgr/flutter_jdsdk

1.0 0.0 2.0 7.1 MB

京东sdk在Flutter上的实现,通过它可以实现唤醒京东app打开京东任意的url,包括商品详情等功能。

License: Other

Java 36.63% Ruby 16.34% Objective-C 30.77% Dart 16.26%

flutter_jdsdk's Introduction

京东sdk的唤醒

京东sdk在Flutter上的实现,通过它可以实现唤醒京东app打开京东任意的url,包括商品详情等功能。

使用需知

京东官方接入文档,在android和ios分别加入安全图片。

ios

在 Info.plist 文件中添加

   <key>LSApplicationQueriesSchemes</key>
	<array>
		<string>openapp.jdmobile</string>
		<string>jdlogin</string>
	</array>
	<key>CFBundleURLTypes</key>
   	<array>
   		<dict>
   			<key>CFBundleTypeRole</key>
   			<string>Editor</string>
   			<key>CFBundleURLSchemes</key>
   			<array>
   				<string>sdkback</string>
   				<string>此处填入appkey</string>
   			</array>
   		</dict>
   	</array>

导入依赖

  import 'package:jdsdk/jdsdk.dart';

初始化

  Jdsdk.init(appKey: '', appSecret: '');

打开京东任意URL

  Jdsdk.openUrl( url: 'https://item.m.jd.com/product/100009963992.html');

flutter_jdsdk's People

Contributors

millionakking avatar selfimgr avatar

Stargazers

 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.