iOS 版本提升

This commit is contained in:
mx1700 2019-07-22 23:47:05 +08:00
parent a565ebf9cd
commit 11852a443e
3 changed files with 13 additions and 10 deletions

View file

@ -91,6 +91,8 @@ function loginByPassword() {
Navigation.events().registerAppLaunchedListener(async () => { Navigation.events().registerAppLaunchedListener(async () => {
firebase.crashlytics().enableCrashlyticsCollection();
try { try {
await loadIcon(); await loadIcon();
} catch (err) { } catch (err) {
@ -123,6 +125,6 @@ Navigation.events().registerAppLaunchedListener(async () => {
console.log("push init: " + msg); console.log("push init: " + msg);
}) })
firebase.crashlytics().log('Test Message!');
}); });

View file

@ -21,7 +21,7 @@
<key>CFBundleSignature</key> <key>CFBundleSignature</key>
<string>????</string> <string>????</string>
<key>CFBundleVersion</key> <key>CFBundleVersion</key>
<string>26</string> <string>27</string>
<key>LSRequiresIPhoneOS</key> <key>LSRequiresIPhoneOS</key>
<true/> <true/>
<key>NSAppTransportSecurity</key> <key>NSAppTransportSecurity</key>
@ -39,6 +39,14 @@
</dict> </dict>
<key>NSCameraUsageDescription</key> <key>NSCameraUsageDescription</key>
<string></string> <string></string>
<key>NSLocationAlwaysUsageDescription</key>
<string>胶囊需要获取你的位置</string>
<key>NSLocationWhenInUseUsageDescription</key>
<string>胶囊需要获取你的位置</string>
<key>NSPhotoLibraryAddUsageDescription</key>
<string>胶囊需要保存图片到相册</string>
<key>NSPhotoLibraryUsageDescription</key>
<string>胶囊需要访问你的相册</string>
<key>UIAppFonts</key> <key>UIAppFonts</key>
<array> <array>
<string>Entypo.ttf</string> <string>Entypo.ttf</string>
@ -67,13 +75,5 @@
</array> </array>
<key>UIViewControllerBasedStatusBarAppearance</key> <key>UIViewControllerBasedStatusBarAppearance</key>
<false/> <false/>
<key>NSPhotoLibraryUsageDescription</key>
<string>胶囊需要访问你的相册</string>
<key>NSLocationAlwaysUsageDescription</key>
<string>胶囊需要获取你的位置</string>
<key>NSLocationWhenInUseUsageDescription</key>
<string>胶囊需要获取你的位置</string>
<key>NSPhotoLibraryAddUsageDescription</key>
<string>胶囊需要保存图片到相册</string>
</dict> </dict>
</plist> </plist>

View file

@ -14,6 +14,7 @@ export default class NotificationHistoryPage extends Component {
constructor(props) { constructor(props) {
super(props); super(props);
Navigation.events().bindComponent(this); Navigation.events().bindComponent(this);
// firebase.crashlytics().crash();
} }
static options(passProps) { static options(passProps) {