CocoaPods trunk is moving to be read-only. Read more on the blog, there are 16 months to go.

FlutterGamesKit 1.0.4

FlutterGamesKit 1.0.4

Maintained by Paul.



 
Depends on:
AFNetworking~> 4.0.1
SVProgressHUD~> 2.3.1
 

  • By
  • Paul

FlutterGamesKit

CI Status Version License Platform

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

Installation

FlutterGamesKit is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'FlutterGamesKit'

Author

罗小黑不吹, [email protected], http://www.dosear.cn

Flutter 游戏 SDK iOS、Android双端

Flutter插件编写,支持iOS 和 Android,该工程是iOS参考demo

主要功能:

/// AppDelegate方法
+ (void)sdkApplication:(UIApplication *)application
didFinishLaunchingWithOptions:(NSDictionary<UIApplicationLaunchOptionsKey, id> *)launchOptions;

/// 初始化
+ (void)sdkInitWithParams:(NSDictionary *)params result:(Result)result;

/// 登录
+ (void)sdkLoginWithAuto:(BOOL)flag result:(Result)result;

/// 上传角色
+ (void)sdkSubmitRoleWithParams:(NSDictionary *)params result:(Result)result;

/// 支付
+ (void)sdkPsyWithParams:(NSDictionary *)params result:(Result)result;

/// 登出
+ (void)sdkLogoutWithResult:(Result)result;

/// 分享
+ (void)sdkShareWithTitle:(NSString *)title image:(NSString *)image url:(NSString *)url  result:(Result)result;

/// 打开链接
+ (void)sdkOpenUrlWithUrl:(NSString *)url;

/// 绑定手机号
+ (void)sdkBindPhone;

/// 检查网络
+ (void)sdkCheckNetBlock:(AFNetBlock)block;

License

FlutterGamesKit is available under the MIT license. See the LICENSE file for more info.