Notes on Mini Program Development and Testing

Notes that are easy to miss in small programs:

1. Quantity limit
One application in the applet can only open 5 pages at the same time. If there are too many pages to be newly opened in the new demand, it is necessary
not to exceed 5 pages. You can also use replacement links instead of page jumps. change

2. Size limit
The size limit of the packaged applet source code is 1M, so the pictures, icons and data in the source code must be compressed, and the
pictures can be accessed by accessing external links (currently we place the pictures on our own CDN, Access via link)

3. Authorization pop-up box
In the latest applet, the authorization pop-up box needs to be triggered after the btn button is triggered for the first time to allow authorization, otherwise it cannot be authorized;
for users who have already authorized, the authorization pop-up box can be displayed directly

4. Obtain mobile phone permissions
When the mobile phone number is not bound to WeChat, if the mobile phone number needs to be obtained in the applet, it will first jump to the page where the mobile phone number is bound to WeChat. After returning, it
cannot return to the previous page. to the mobile phone number to complete the data, which will lead to
the loss of users

5. Small program experience version
In the small program test environment, you need to add WeChat to the user management and have the experiencer permission to scan the QR code to
experience the small program

6. Basic library upgrade
The basic API of the Mini Program sometimes needs to be upgraded to a new API for compatibility. The new API may cause some functions of the Mini Program to be unavailable
. Therefore, for those with Mini Program business, it is necessary to regularly pay attention to the API update in the Mini Program

7. Message template
The applet cannot actively push messages to users. If notifications need to be sent, users need to actively click to
send messages (for example, if you want to send a live broadcast message notification, you first need to guide users to make an appointment or pay attention)

8. Message push
In the applet, the behavior that needs to send a message is triggered multiple times, and only the latest behavior will be sent to send a message

9. Online consultation
The mini program supports jumping to WeChat customer service, but it cannot actively send messages to users. Only after users send messages can they
reply to users.

Guess you like

Origin blog.csdn.net/weixin_48520816/article/details/125296726