Multiple Versions Compatible Solution
#
Abbr- MV -> Mini-Program APP version
- MSV -> Required minimum SDK version
- SV -> SDK version
- NV -> Binance APP version
#
IntroduceIt’s a solution to solve the compatibility problem of the multiple versions. The MV will be loaded based on the binding relationships of SV and NV. The compatibility solution works from Binance APP 2.36.0
#
Why do we have this multiple version solution?Native Binance APP would always load the latest Mini-Program APP version. It’s impossible to load different Mini-Program APP versions for different Binance APP versions
#
SDK compatibilitySDK with same major version would be compatible backward
#
What Mini-Program APP version will be loaded on Binance APP ?Based on the binding relationship between SDK versions and Binance APP versions, it would load the latest published Mini-Program version with its msv same as Binance App binded major SDK version
Example:
MV | MSV | Published Time |
---|---|---|
1.2.0 | ^1.0.0/^2.0.0 | 2020/10/20 |
1.2.1 | ^2.0.0 | 2020/10/21 |
NV | Binded SV | Loaded MV |
---|---|---|
2.36.0 | 1.3.0 | 1.2.0 |
2.36.1 | 1.3.0/2.1.0 | 1.2.1 |
2.36.2 | 2.1.0 | 1.2.1 |