react-native-mobile-chat 0.1.1 → 0.1.2
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.
package/README.md
CHANGED
|
@@ -10,7 +10,7 @@ a. Your app using Firebase Cloud Messaging
|
|
|
10
10
|
|
|
11
11
|
b. You have created mobile chat channel integration in [mobile chat integration page](https://chat.qontak.com/integrations/mobilechat) and make sure you have done on the following step
|
|
12
12
|
- Add package name or bundle id of your app
|
|
13
|
-
-
|
|
13
|
+
- Copy paste text inside private key file to "FCM server key" input form. You can get your private key file from console firebase in Project settings -> Service accounts -> Generate new private key
|
|
14
14
|
|
|
15
15
|
### 2. Install dependency
|
|
16
16
|
This package have dependency with [React Native WebView](https://github.com/react-native-webview/react-native-webview), so you have to install it first by command line below, skip this step if you have already installed (listed on package.json dependenies)
|
|
@@ -20,7 +20,7 @@ class AppChatStatic {
|
|
|
20
20
|
fontColor: 'white',
|
|
21
21
|
textHeader: '',
|
|
22
22
|
textDescription: '',
|
|
23
|
-
isAnyEmpty: () => this.appChatTheme.bgColorTheme == 'grey' || this.appChatTheme.bgColorThemeOverlaid == 'grey' || this.appChatTheme.
|
|
23
|
+
isAnyEmpty: () => this.appChatTheme.bgColorTheme == 'grey' || this.appChatTheme.bgColorThemeOverlaid == 'grey' || this.appChatTheme.fontColor == 'white' || this.appChatTheme.textHeader == '' || this.appChatTheme.textDescription == ''
|
|
24
24
|
};
|
|
25
25
|
|
|
26
26
|
//Assigned as parameter by developer
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["AppChatStatic","appChatOpened","accessToken","contactId","bundleIdValidation","encryptedUrlParams","initAppChatResult","appChatTheme","bgColorTheme","bgColorThemeOverlaid","fontColor","textHeader","textDescription","isAnyEmpty","appId","clientId","clientSecret","externalId","fullName","fcmToken","exports"],"sourceRoot":"../../../../src","sources":["data/static/index.tsx"],"mappings":";;;;;;AAAO,MAAMA,aAAa,CAAC;EACzB;EACA,OAAOC,aAAa,GAAG,KAAK;;EAE5B;EACA,OAAOC,WAAW,GAAG,EAAE;EACvB,OAAOC,SAAS,GAAG,EAAE;EACrB,OAAOC,kBAAkB,GAAG,EAAE;EAC9B,OAAOC,kBAAkB,GAAG,EAAE;EAC9B,OAAOC,iBAAiB,GAAG,EAAE;EAE7B,OAAOC,YAAY,GAAG;IACpBC,YAAY,EAAE,MAAM;IACpBC,oBAAoB,EAAE,MAAM;IAC5BC,SAAS,EAAE,OAAO;IAClBC,UAAU,EAAE,EAAE;IACdC,eAAe,EAAE,EAAE;IACnBC,UAAU,EAAEA,CAAA,KAAM,IAAI,CAACN,YAAY,CAACC,YAAY,IAAI,MAAM,IAAI,IAAI,CAACD,YAAY,CAACE,oBAAoB,IAAI,MAAM,IAAI,IAAI,CAACF,YAAY,
|
|
1
|
+
{"version":3,"names":["AppChatStatic","appChatOpened","accessToken","contactId","bundleIdValidation","encryptedUrlParams","initAppChatResult","appChatTheme","bgColorTheme","bgColorThemeOverlaid","fontColor","textHeader","textDescription","isAnyEmpty","appId","clientId","clientSecret","externalId","fullName","fcmToken","exports"],"sourceRoot":"../../../../src","sources":["data/static/index.tsx"],"mappings":";;;;;;AAAO,MAAMA,aAAa,CAAC;EACzB;EACA,OAAOC,aAAa,GAAG,KAAK;;EAE5B;EACA,OAAOC,WAAW,GAAG,EAAE;EACvB,OAAOC,SAAS,GAAG,EAAE;EACrB,OAAOC,kBAAkB,GAAG,EAAE;EAC9B,OAAOC,kBAAkB,GAAG,EAAE;EAC9B,OAAOC,iBAAiB,GAAG,EAAE;EAE7B,OAAOC,YAAY,GAAG;IACpBC,YAAY,EAAE,MAAM;IACpBC,oBAAoB,EAAE,MAAM;IAC5BC,SAAS,EAAE,OAAO;IAClBC,UAAU,EAAE,EAAE;IACdC,eAAe,EAAE,EAAE;IACnBC,UAAU,EAAEA,CAAA,KAAM,IAAI,CAACN,YAAY,CAACC,YAAY,IAAI,MAAM,IAAI,IAAI,CAACD,YAAY,CAACE,oBAAoB,IAAI,MAAM,IAAI,IAAI,CAACF,YAAY,CAACG,SAAS,IAAI,OAAO,IAAI,IAAI,CAACH,YAAY,CAACI,UAAU,IAAI,EAAE,IAAI,IAAI,CAACJ,YAAY,CAACK,eAAe,IAAI;EACzO,CAAC;;EAED;EACA,OAAOE,KAAK,GAAG,EAAE;EACjB,OAAOC,QAAQ,GAAG,EAAE;EACpB,OAAOC,YAAY,GAAG,EAAE;EACxB,OAAOC,UAAU,GAAG,EAAE;EACtB,OAAOC,QAAQ,GAAG,EAAE;EACpB,OAAOC,QAAQ,GAAG,EAAE;AACtB;AAACC,OAAA,CAAApB,aAAA,GAAAA,aAAA"}
|
|
@@ -14,7 +14,7 @@ export class AppChatStatic {
|
|
|
14
14
|
fontColor: 'white',
|
|
15
15
|
textHeader: '',
|
|
16
16
|
textDescription: '',
|
|
17
|
-
isAnyEmpty: () => this.appChatTheme.bgColorTheme == 'grey' || this.appChatTheme.bgColorThemeOverlaid == 'grey' || this.appChatTheme.
|
|
17
|
+
isAnyEmpty: () => this.appChatTheme.bgColorTheme == 'grey' || this.appChatTheme.bgColorThemeOverlaid == 'grey' || this.appChatTheme.fontColor == 'white' || this.appChatTheme.textHeader == '' || this.appChatTheme.textDescription == ''
|
|
18
18
|
};
|
|
19
19
|
|
|
20
20
|
//Assigned as parameter by developer
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["AppChatStatic","appChatOpened","accessToken","contactId","bundleIdValidation","encryptedUrlParams","initAppChatResult","appChatTheme","bgColorTheme","bgColorThemeOverlaid","fontColor","textHeader","textDescription","isAnyEmpty","appId","clientId","clientSecret","externalId","fullName","fcmToken"],"sourceRoot":"../../../../src","sources":["data/static/index.tsx"],"mappings":"AAAA,OAAO,MAAMA,aAAa,CAAC;EACzB;EACA,OAAOC,aAAa,GAAG,KAAK;;EAE5B;EACA,OAAOC,WAAW,GAAG,EAAE;EACvB,OAAOC,SAAS,GAAG,EAAE;EACrB,OAAOC,kBAAkB,GAAG,EAAE;EAC9B,OAAOC,kBAAkB,GAAG,EAAE;EAC9B,OAAOC,iBAAiB,GAAG,EAAE;EAE7B,OAAOC,YAAY,GAAG;IACpBC,YAAY,EAAE,MAAM;IACpBC,oBAAoB,EAAE,MAAM;IAC5BC,SAAS,EAAE,OAAO;IAClBC,UAAU,EAAE,EAAE;IACdC,eAAe,EAAE,EAAE;IACnBC,UAAU,EAAEA,CAAA,KAAM,IAAI,CAACN,YAAY,CAACC,YAAY,IAAI,MAAM,IAAI,IAAI,CAACD,YAAY,CAACE,oBAAoB,IAAI,MAAM,IAAI,IAAI,CAACF,YAAY,
|
|
1
|
+
{"version":3,"names":["AppChatStatic","appChatOpened","accessToken","contactId","bundleIdValidation","encryptedUrlParams","initAppChatResult","appChatTheme","bgColorTheme","bgColorThemeOverlaid","fontColor","textHeader","textDescription","isAnyEmpty","appId","clientId","clientSecret","externalId","fullName","fcmToken"],"sourceRoot":"../../../../src","sources":["data/static/index.tsx"],"mappings":"AAAA,OAAO,MAAMA,aAAa,CAAC;EACzB;EACA,OAAOC,aAAa,GAAG,KAAK;;EAE5B;EACA,OAAOC,WAAW,GAAG,EAAE;EACvB,OAAOC,SAAS,GAAG,EAAE;EACrB,OAAOC,kBAAkB,GAAG,EAAE;EAC9B,OAAOC,kBAAkB,GAAG,EAAE;EAC9B,OAAOC,iBAAiB,GAAG,EAAE;EAE7B,OAAOC,YAAY,GAAG;IACpBC,YAAY,EAAE,MAAM;IACpBC,oBAAoB,EAAE,MAAM;IAC5BC,SAAS,EAAE,OAAO;IAClBC,UAAU,EAAE,EAAE;IACdC,eAAe,EAAE,EAAE;IACnBC,UAAU,EAAEA,CAAA,KAAM,IAAI,CAACN,YAAY,CAACC,YAAY,IAAI,MAAM,IAAI,IAAI,CAACD,YAAY,CAACE,oBAAoB,IAAI,MAAM,IAAI,IAAI,CAACF,YAAY,CAACG,SAAS,IAAI,OAAO,IAAI,IAAI,CAACH,YAAY,CAACI,UAAU,IAAI,EAAE,IAAI,IAAI,CAACJ,YAAY,CAACK,eAAe,IAAI;EACzO,CAAC;;EAED;EACA,OAAOE,KAAK,GAAG,EAAE;EACjB,OAAOC,QAAQ,GAAG,EAAE;EACpB,OAAOC,YAAY,GAAG,EAAE;EACxB,OAAOC,UAAU,GAAG,EAAE;EACtB,OAAOC,QAAQ,GAAG,EAAE;EACpB,OAAOC,QAAQ,GAAG,EAAE;AACtB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-mobile-chat",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "React Native Mobile Chat help you to manage customer relationship with customer conversation feature inside your react native app.",
|
|
5
5
|
"main": "lib/commonjs/index",
|
|
6
6
|
"module": "lib/module/index",
|
|
@@ -15,7 +15,7 @@ export class AppChatStatic {
|
|
|
15
15
|
fontColor: 'white',
|
|
16
16
|
textHeader: '',
|
|
17
17
|
textDescription: '',
|
|
18
|
-
isAnyEmpty: () => this.appChatTheme.bgColorTheme == 'grey' || this.appChatTheme.bgColorThemeOverlaid == 'grey' || this.appChatTheme.
|
|
18
|
+
isAnyEmpty: () => this.appChatTheme.bgColorTheme == 'grey' || this.appChatTheme.bgColorThemeOverlaid == 'grey' || this.appChatTheme.fontColor == 'white' || this.appChatTheme.textHeader == '' || this.appChatTheme.textDescription == ''
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
//Assigned as parameter by developer
|