@selfcommunity/react-core 0.4.0 → 0.4.1-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -7,10 +7,10 @@ import { SCDeviceType } from '@selfcommunity/types';
7
7
  - unregister device (Android/iOS)
8
8
  !important: the device is registered only if exist in the global window
9
9
  object (or as keys in the localstorage) the follow:
10
- - _platform: <android|iOS>
11
- - _notification_service: <gcm:fcm:apns>
12
- - _registration_id: <registration_id>
13
- - _device_id: <device_id>
10
+ - _platform: `<android-iOS>`
11
+ - _notification_service: `<gcm-fcm-apns>`
12
+ - _registration_id: `<registration_id>`
13
+ - _device_id: `<device_id>`
14
14
  :::
15
15
  */
16
16
  export default function useSCMobileNativePushMessaging(): {
@@ -15,10 +15,10 @@ const notification_1 = require("../utils/notification");
15
15
  - unregister device (Android/iOS)
16
16
  !important: the device is registered only if exist in the global window
17
17
  object (or as keys in the localstorage) the follow:
18
- - _platform: <android|iOS>
19
- - _notification_service: <gcm:fcm:apns>
20
- - _registration_id: <registration_id>
21
- - _device_id: <device_id>
18
+ - _platform: `<android-iOS>`
19
+ - _notification_service: `<gcm-fcm-apns>`
20
+ - _registration_id: `<registration_id>`
21
+ - _device_id: `<device_id>`
22
22
  :::
23
23
  */
24
24
  function useSCMobileNativePushMessaging() {
@@ -7,10 +7,10 @@ import { SCDeviceType } from '@selfcommunity/types';
7
7
  - unregister device (Android/iOS)
8
8
  !important: the device is registered only if exist in the global window
9
9
  object (or as keys in the localstorage) the follow:
10
- - _platform: <android|iOS>
11
- - _notification_service: <gcm:fcm:apns>
12
- - _registration_id: <registration_id>
13
- - _device_id: <device_id>
10
+ - _platform: `<android-iOS>`
11
+ - _notification_service: `<gcm-fcm-apns>`
12
+ - _registration_id: `<registration_id>`
13
+ - _device_id: `<device_id>`
14
14
  :::
15
15
  */
16
16
  export default function useSCMobileNativePushMessaging(): {
@@ -13,10 +13,10 @@ import { isMobileNativeNotificationEnabled } from '../utils/notification';
13
13
  - unregister device (Android/iOS)
14
14
  !important: the device is registered only if exist in the global window
15
15
  object (or as keys in the localstorage) the follow:
16
- - _platform: <android|iOS>
17
- - _notification_service: <gcm:fcm:apns>
18
- - _registration_id: <registration_id>
19
- - _device_id: <device_id>
16
+ - _platform: `<android-iOS>`
17
+ - _notification_service: `<gcm-fcm-apns>`
18
+ - _registration_id: `<registration_id>`
19
+ - _device_id: `<device_id>`
20
20
  :::
21
21
  */
22
22
  export default function useSCMobileNativePushMessaging() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@selfcommunity/react-core",
3
- "version": "0.4.0",
3
+ "version": "0.4.1-alpha.0",
4
4
  "description": "React Core Components useful for integrating UI Community components (react-ui).",
5
5
  "author": "SelfCommunity <https://www.selfcommunity.com>",
6
6
  "homepage": "https://www.selfcommunity.com",
@@ -68,10 +68,10 @@
68
68
  "react-intl": "^6.4.7"
69
69
  },
70
70
  "dependencies": {
71
- "@selfcommunity/api-services": "^0.4.0",
72
- "@selfcommunity/react-i18n": "^0.5.0",
73
- "@selfcommunity/types": "^0.5.0",
74
- "@selfcommunity/utils": "^0.2.0",
71
+ "@selfcommunity/api-services": "^0.4.1-alpha.0",
72
+ "@selfcommunity/react-i18n": "^0.5.1-alpha.0",
73
+ "@selfcommunity/types": "^0.5.1-alpha.0",
74
+ "@selfcommunity/utils": "^0.2.1-alpha.0",
75
75
  "js-cookie": "^3.0.5",
76
76
  "pubsub-js": "^1.9.4",
77
77
  "use-deep-compare-effect": "^1.8.1",
@@ -125,5 +125,5 @@
125
125
  "bugs": {
126
126
  "url": "https://github.com/selfcommunity/community-js/issues"
127
127
  },
128
- "gitHead": "f7abcaa88f086cedf2dd825e28c32d44237eb04e"
128
+ "gitHead": "6c7ca8799f91ab35fb6f72422792d478c61146fc"
129
129
  }