udream-cxs 4 роки тому
батько
коміт
9bd5114a6a
1 змінених файлів з 11 додано та 11 видалено
  1. 11 11
      Readme.md

+ 11 - 11
Readme.md

@@ -1,18 +1,18 @@
 info.plist
-<key>CFBundleURLName</key>
-<string>dtgj.edtyun.com</string>
-<key>CFBundleURLSchemes</key>
-<array>
-    <string>tytylift</string>
-</array>
+* <key>CFBundleURLName</key>
+* <string>dtgj.edtyun.com</string>
+* <key>CFBundleURLSchemes</key>
+* <array>
+*     <string>tytylift</string>
+* </array>
 
 AndroidManifest.xml
-<data
-    android:scheme="tytylift"
-    android:host="dtgj.edtyun.com"
-/>
+* <data
+*     android:scheme="tytylift"
+*     android:host="dtgj.edtyun.com"
+* />
 
 android和ios的host与scheme要与
 app4share中index.html的
-
+window.location.href = `tytylift://dtgj.edtyun.com?page=${page}&id=${id}`;  
 保持一致,否则将补发调起app