5.9 KiB
PhizClip iOS DEMO
Home Page | Example Mini-App | Documentation | Deployment Guide
SDK Integration Guide | API List | Component List | Privacy Commitment
🤔 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
🔗 Links
The following is information on common questions and guidelines for your development and experience with PhizClip
- Home Page
- Example Mini-App
- Documentation
- SDK Integration Guide
- Structure of PhizClip
- Integration Guidelines(iOS)
- Integration Guidelines(Android)
- Integration Guidelines(Flutter)
☎️ 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.