How to realize the jump between mini program and app? In this article, we will introduce the implementation method of jumping between mini programs and apps. I hope it will be helpful to everyone!
While running their own mini programs, many developers want to know more about how to implement my own mini programs and interact with other apps (especially WeChat App) Jump?
When it comes to mini programs, the first thing that comes to everyone’s mind is WeChat mini programs. Now, FinClip has “opened up” this capability, allowing any app to run its own mini programs. [Related learning recommendations: 小program development tutorial]
While running their own small programs, many developers want to know more about how to implement my own small programs and other App (especially WeChat App) jump?
Today, we will focus on clarifying the logical relationship and implementation of this jump.
The beginning is clear and the concept comes first. Before sorting out the jump, we need to pay attention to what each of these small programs is.
WeChat Mini Program: Almost no need to explain, it is the specification of a mini program running in WeChat App
FinClip Mini Program:
FinClip applet = WeChat applet: From the technology stack, a WeChat applet can be directly compiled into FinClip applet, and a code is packaged on both ends (WeChat App and APP integrated with FinClip SDK) , the performance is exactly the same
FinClip ≠ WeChat: From the listing process, FinClip is an independent platform with its own management backend. Customers can run small programs on their own APP through the FinClip SaaS version SDK; At the same time, WeChat is an absolutely independent APP. Mini programs must apply for an account on WeChat and wait for review. The entire process is handled by WeChat (i.e. Tencent), and no other third party can interfere.
FinClip > WeChat: FinClip SDK allows any app to have the ability to run mini programs, and also supports uploading mini programs to other mainstream app platforms (such as Baidu and Alipay)
Based on FinClip capabilities, mini programs and app jumps are not just one way or one path. We have sorted out 6 of them as shown in the figure below path.
Next, let’s take a look at how to implement it one by one!
Scenario 1: WeChat Mini Program—WeChat App
Scene description:
This is the most basic mini program - App jump. In fact, whether it is FinClip mini program - FinClipApp, or WeChat mini program — WeChat App implements content switching within its own ecosystem
Implementation method:
The mini program returns to the App through return and exit operations, and the App can also define the entry parameters of the mini program way to achieve the goal of entering the specified mini program page
FinClip: The setting method for the App to enter the specified page of the mini program
Scenario 2: finclip applet - WeChat App
Scene description:
What is WeChat? It is the largest public domain traffic in the current online world. By sharing to WeChat, we can:
Implementation method: With just a few lines of code, finclip App can share the mini program to WeChat
Scenario 3: WeChat Mini Program - Own App (App integrated with finclip SDK)
Scene description: Drainage traffic Draining traffic to your own home is called real "traffic". The traffic attracted through content and activities in the WeChat mini program will naturally flow back to the self-owned App
Implementation method: It needs to be emphasized that the jump from WeChat to the self-owned App is mainly limited Due to the regulations of WeChat itself, the capabilities that WeChat does not provide are basically difficult to solve. In the recent version of the WeChat mini program, the entrance to directly "return to the App" has been removed. Currently, the traffic that can be achieved through the mini program is mainly:
Set the entrance in the WeChat applet → Guide to the customer service information → Customer service replies with the download link → Guide to the App in the download link (or guide the user to download ) → Open the corresponding content in your own App
Scenario 4: FinClip applet—WeChat—own App
Scenario description:
Closed loop, closed loop, it is called closed loop when it comes and goes. By realizing a closed loop from the FinClip applet to WeChat and back to the App, event operations can be complete.
Implementation method: This scene is actually a combination of scene 3 and scene 4, which can be achieved by superimposing the two methods.
Scenario 5: Others (text messages, emails, web pages, etc.) - FinClip applet (own App)
Scenario description :
In addition to jumping between WeChat and App, jumping to mini programs and apps can also be achieved at any other location. For example:
Implementation method: The FinClip applet supports the production of short links, which support waking up from the outside
For more programming-related knowledge, please visit: programmingvideo! !
The above is the detailed content of Let's talk about how to jump between mini programs and apps. For more information, please follow other related articles on the PHP Chinese website!