小程序容器 PhizClip 苹果运行环境,让小程序在苹果应用中无缝运行 / iOS DEMO for PhizClip
 
Go to file
sannilake 00926661e1 英文版readme翻译 2023-11-09 14:31:00 +08:00
.github/workflows Create pull_request.yml 2022-02-08 15:48:04 +08:00
FinDemo 优化提示 2023-06-01 15:26:07 +08:00
FinDemo.xcodeproj 优化提示 2023-06-01 15:26:07 +08:00
media/image 英文版readme翻译 2023-11-09 14:31:00 +08:00
.gitattributes Create .gitattributes 2020-02-22 11:44:03 +08:00
.gitignore fix 2020-02-22 11:21:27 +08:00
LICENSE Initial commit 2020-04-23 21:48:05 +08:00
Podfile 重构后修改说明 2023-05-31 11:05:15 +08:00
README.md 英文版readme翻译 2023-11-09 14:31:00 +08:00
readme_en.md 英文版readme翻译 2023-11-09 14:31:00 +08:00

readme_en.md

PhizClip iOS DEMO

👉 https://www.phizclip.com/ 👈


🤔 What is PhizClip?

Have you ever thought that the developed WeChat Mini-App can be put in your own APP to run directly, and you only need to develop the Mini-App once, and then you can open it in different applications, isn't it incredible?

Have you ever tried to introduce an SDK in your own APP, and you can not only open the Mini-App in the app, but also customize the Mini-App interface and modify the Mini-App style, don't you think it is more incredible?

This is PhizClip, with much INCREDIBLE !

⚙️ Steps

The first step is to modify the Podfile file and add FinApplet dependency

source 'https://github.com/CocoaPods/Specs.git'
pod 'FinApplet'

Step 2 Complete SDK initialization

In the following method in the project's AppDelegate, call the SDK's initialization method.

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
	
	// Code that needs to be added to the App--start
    NSMutableArray *storeArrayM = [NSMutableArray array];
    FATStoreConfig *storeConfig = [[FATStoreConfig alloc] init];
    storeConfig.sdkKey = @"Your sdkKey information";
    storeConfig.sdkSecret = @"Your sdkSecret information";
    storeConfig.apiServer = @"Server domain name";
    storeConfig.apmServer = @"Domain name of apm statistics event";
    [storeArrayM addObject:storeConfig];
    
    FATConfig *config = [FATConfig configWithStoreConfigs:storeArrayM];
    [[FATClient sharedClient] initWithConfig:config error:nil];
    // Code that needs to be added to the App--end
    
    return YES;
}

Step 3 Open the mini program

NSString *appId = @"Mini program id";
// Open the applet
[[FATClient sharedClient] startRemoteApplet:appId startParams:nil InParentViewController:self completion:^(BOOL result, NSError *error) {
    NSLog(@"result:%d---error:%@", result, error);
}];
  • Open the mini program - SDK KEY and SDK SECRET can be obtained from PhizClip, click here Register an account;
  • After entering the platform, add your own package name on the "Application Management" page and click "Copy" to get the key\secret\apisever field;
  • apiServer and apiPrefix are fixed fields, please refer to this DEMO directly;
  • Mini Program ID is the Mini Program APP ID listed in the management background. It needs to be created in "Mini Program Management" and associated in "Application Management";

The Mini Program ID is different from the WeChat Mini Program ID! (This refers specifically to the ID of the PhizClip platform)

📋 Integrated documentation

Click here View the iOS Quick Integration documentation

The following is information on common questions and guidelines for your development and experience with PhizClip

☎️ Contact

Scan the QR code below with WeChat and follow the official public number Finogeeks for more exciting content.

Scan the QR code below with WeChat and invite into the official WeChat exchange group (add friend note: finclip consulting) to get more exciting content.

Stargazers

Stargazers repo roster for @finogeeks/finclip-ios-demo

Forkers

Forkers repo roster for @finogeeks/finclip-ios-demo

🌏 Languages