WeChat Open Platform

Mini Programs Documentation

Scene values

The currently supported scene values are:

Scene value ID Description
1001 Discovery bar Mini Program main access
1005 Top search box search results page
1006 Discovery bar Mini Program main access search box search results page
1007 Mini Program message card in single chat session
1008 Mini Program message card in group chat session
1011 Scan QR code
1012 Press and hold image to identify QR code
1013 QR code selected from phone album
1014 Mini Program template message
1017 Go to experience version entry page
1019 WeChat Wallet
1020 Mini Program list related to official account profile page
1022 Mini Program access at top of chat list
1023 Android system desktop icon
1024 Mini Program profile page
1025 Scan one-dimensional code
1028 My card pack
1029 Card details page
1031 Press and hold image to identify one-dimensional code
1032 One-dimensional code selected from phone album
1034 WeChat payment completion page
1035 Official account custom-defined menu
1036 App sharing message card
1042 Add friends search box search results page
1043 Official account templated message
1044 Mini Program message card in group chat session (with shareTicket)
1047 Scan Mini Program code
1048 Press and hold image to identify Mini Program code
1049 Mini Program code selected from phone album

Can be obtained in App's onLaunch and onShow. More details

Tip: Due to the limitations of the Android system, the home button currently cannot be used to exit to desktop, then re-enter the Mini Program scene values from the desktop. In this situation, the scene values from the previous time will be maintained.