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 () => {
firebase.crashlytics().enableCrashlyticsCollection();
try {
await loadIcon();
} catch (err) {
@ -123,6 +125,6 @@ Navigation.events().registerAppLaunchedListener(async () => {
console.log("push init: " + msg);
})
firebase.crashlytics().log('Test Message!');
});

View file

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

View file

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