Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What are the scene values supported by Mini Program

2025-03-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly introduces the relevant knowledge of "what are the scene values supported by Mini Program". The editor shows you the operation process through an actual case, and the operation method is simple, fast and practical. I hope this "what are the scene values supported by Mini Program" article can help you solve the problem.

Scene valu

The basic library 1.1.0 is supported, and the lower version needs to be compatible.

Currently supported scenario values are:

Scene value ID description 1001 discovery bar Mini Program main entrance 1005 search box top search results page 1006 discovery bar Mini Program main entry search box search results page 1007 Mini Program message card in a single chat session 1008 Mini Program message card in a group chat session Mini Program message card 1011 scan QR code 1012 long press picture identification QR code 1013 mobile photo album select QR code 1014 Mini Program template message 1017 go to the entrance of the trial version Page 1019 Wechat Wallet 1020 official account profile page related Mini Program list 1022 chat Top Mini Program entry 1023 Android Desktop Icon 1024 Mini Program profile Page 1025 scan one-dimensional code 1026 nearby Mini Program list 1027 top search box search results page "used Mini Program" list 1028 my card package 1029 card coupon details page 1030 automatic test open Mini Program 1031 long press picture recognition one-dimensional code 1032 mobile photo album Select one-dimensional code 1034 WeChat Pay completion page 1035 official account custom menu 1036App sharing message card 1037 Mini Program open Mini Program 1038 return from another Mini Program 1039 pan TV 1042 add friend search results page 1043 official account template message 1044 Mini Program message card with shareTicket 1047 scan Mini Program code 1048 long according to picture identification code 1049 mobile phone photo album to select Mini program 1042 card voucher Store list 1053 search results page 1054 top search box Mini Program shortcut entry 1056 music player menu 1058 official account article 1059 experience version Mini Program binding invitation page 1064 Wechat even Wifi status bar 1067 official account article advertisement 1068 nearby Mini Program list advertisement 1072 QR code collection page 1073 customer service message list Mini Program message card 1074 official account session issued Mini Program message card

The above scenario values can be obtained in the onlaunch and onshow of App, and the appId of the source application, official account or Mini Program can also be obtained under some scene values.

Tip: due to the limitation of the Android system, it is not possible to obtain the scene value of pressing the Home key to exit to the desktop and then enter Mini Program again from the desktop. In this case, the last scene value will be retained.

This is the end of the content about "what are the scene values supported by Mini Program". Thank you for reading. If you want to know more about the industry, you can follow the industry information channel. The editor will update different knowledge points for you every day.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report