xiongzhu 4 лет назад
Родитель
Сommit
7b6df705c2
3 измененных файлов с 4 добавлено и 4 удалено
  1. 1 1
      config.xml
  2. 2 2
      www/index.html
  3. 1 1
      www/template.html

+ 1 - 1
config.xml

@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
-<widget id="vip.raex.nft" version="1.0.1" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0" ios-CFBundleIdentifier="com.raex.meta" ios-CFBundleVersion="124" android-versionCode="1115">
+<widget id="vip.raex.nft" version="1.0.1" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0" ios-CFBundleIdentifier="com.raex.meta" ios-CFBundleVersion="125" android-versionCode="1115">
 	<name>RAEX绿洲宇宙</name>
 	<description>
         A sample Apache Cordova application that responds to the deviceready event.

+ 2 - 2
www/index.html

@@ -12,9 +12,9 @@
 <body>
     <script>
         var version = '1.0.1';
-        var iosCFBundleVersion = '123';
+        var iosCFBundleVersion = '124';
         var androidVersionCode = '1115';
-        if (/iphone|ipod|ipad/i.test(navigator.userAgent)) {
+        if (/iphone|ipod|ipad|Macintosh/i.test(navigator.userAgent)) {
             axios.get('https://www.raex.vip/appVersion/checkIosReview?version=' + version)
                 .then(function (res) {
                     if (res.data.review) {

+ 1 - 1
www/template.html

@@ -14,7 +14,7 @@
         var version = '${version}';
         var iosCFBundleVersion = '${iosCFBundleVersion}';
         var androidVersionCode = '${androidVersionCode}';
-        if (/iphone|ipod|ipad/i.test(navigator.userAgent)) {
+        if (/iphone|ipod|ipad|Macintosh/i.test(navigator.userAgent)) {
             axios.get('https://www.raex.vip/appVersion/checkIosReview?version=' + version)
                 .then(function (res) {
                     if (res.data.review) {