diff --git a/index.js b/index.js
index ca2911c..68540b0 100644
--- a/index.js
+++ b/index.js
@@ -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!');
+
});
diff --git a/ios/Timepill/Info.plist b/ios/Timepill/Info.plist
index 308cd6a..c3a4c6d 100644
--- a/ios/Timepill/Info.plist
+++ b/ios/Timepill/Info.plist
@@ -21,7 +21,7 @@
CFBundleSignature
????
CFBundleVersion
- 26
+ 27
LSRequiresIPhoneOS
NSAppTransportSecurity
@@ -39,6 +39,14 @@
NSCameraUsageDescription
+ NSLocationAlwaysUsageDescription
+ 胶囊需要获取你的位置
+ NSLocationWhenInUseUsageDescription
+ 胶囊需要获取你的位置
+ NSPhotoLibraryAddUsageDescription
+ 胶囊需要保存图片到相册
+ NSPhotoLibraryUsageDescription
+ 胶囊需要访问你的相册
UIAppFonts
Entypo.ttf
@@ -67,13 +75,5 @@
UIViewControllerBasedStatusBarAppearance
- NSPhotoLibraryUsageDescription
- 胶囊需要访问你的相册
- NSLocationAlwaysUsageDescription
- 胶囊需要获取你的位置
- NSLocationWhenInUseUsageDescription
- 胶囊需要获取你的位置
- NSPhotoLibraryAddUsageDescription
- 胶囊需要保存图片到相册
diff --git a/src/page/NotificationHistoryPage.js b/src/page/NotificationHistoryPage.js
index b4bbf20..730e622 100644
--- a/src/page/NotificationHistoryPage.js
+++ b/src/page/NotificationHistoryPage.js
@@ -14,6 +14,7 @@ export default class NotificationHistoryPage extends Component {
constructor(props) {
super(props);
Navigation.events().bindComponent(this);
+ // firebase.crashlytics().crash();
}
static options(passProps) {