Skip to content
This repository has been archived by the owner on Oct 12, 2023. It is now read-only.

Commit

Permalink
fix: minor fixes after PR reviewed by myself
Browse files Browse the repository at this point in the history
  • Loading branch information
patogallaiovlabs committed Jun 9, 2021
1 parent 215c348 commit d54bc8f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 43 deletions.
33 changes: 2 additions & 31 deletions android/app/src/main/java/com/rsk/rwallet/v2/MainApplication.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,38 +25,9 @@ public boolean getUseDeveloperSupport() {
@Override
protected List<ReactPackage> getPackages() {
List<ReactPackage> packages = new PackageList(this).getPackages();
// Manually add any missing packages like this
// packages.add(new PostsnapPackage());
// Manually add any missing packages like this
// packages.add(new PostsnapPackage());
return packages;
/*return Arrays.<ReactPackage>asList(
new MainReactPackage(),
new RNViewShotPackage(),
new RNDeviceInfo(),
new RNFirebasePackage(),
new RNFSPackage(),
new RNSharePackage(),
new SpringScrollViewPackage(),
new BlurViewPackage(),
new RNVersionNumberPackage(),
new LinearGradientPackage(),
new VectorIconsPackage(),
new UdpSocketsModule(),
new TcpSocketsModule(),
new RNCameraPackage(),
new RNUUIDGeneratorPackage(),
new ReactNativeFingerprintScannerPackage(),
new RNSecureStoragePackage(),
new SvgPackage(),
new RandomBytesPackage(),
new RNI18nPackage(),
new AsyncStoragePackage(),
new RNGestureHandlerPackage(),
new RNScreensPackage(),
new ReactSliderPackage(),
new RNFirebaseMessagingPackage(),
new RNFirebaseNotificationsPackage(),
new RNCWebViewPackage()
);*/
}

@Override
Expand Down
2 changes: 2 additions & 0 deletions ios/rwallet/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@
<true/>
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
<key>NSExceptionDomains</key>
<dict>
<key>localhost</key>
Expand Down
12 changes: 0 additions & 12 deletions src/common/fcmHelper.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,18 +77,6 @@ class FcmHelper {
completion();
});

/*
// App in foreground, onNotification triggered
firebase.notifications().onNotification((notification) => {
this.onFireMessagingNotification(notification, FcmType.INAPP);
});
// App in background, onNotificationOpened Triggered if the notification is tapped
firebase.notifications().onNotificationOpened((notificationOpen) => {
this.onFireMessagingNotification(notificationOpen.notification, FcmType.BACKGROUND);
});
*/

firebase.messaging().onMessage((message) => {
console.log('firebaseMessaging, onMessage, message: ', message);
});
Expand Down

0 comments on commit d54bc8f

Please sign in to comment.