File tree Expand file tree Collapse file tree 3 files changed +11
-16
lines changed Expand file tree Collapse file tree 3 files changed +11
-16
lines changed Original file line number Diff line number Diff line change 11import React , { useState } from 'react' ;
2- import ChatWootWidget from '@chatwoot/chatwoot- react-native-widget-testing ' ;
2+ import ChatWootWidget from '@chatwoot/react-native-widget' ;
33
44import {
55 SafeAreaView ,
@@ -13,19 +13,19 @@ import styles from './style';
1313const App = ( ) => {
1414 const [ showWidget , toggleWidget ] = useState ( false ) ;
1515 const [ user , setUser ] = useState ( {
16- identifier : 'gustavo_hoffman @gmail.com' ,
17- name : 'Gustavo Hoffman ' ,
16+ identifier : 'sabu_mon @gmail.com' ,
17+ name : 'Sabu Mon ' ,
1818 avatar_url : 'https://i.pravatar.cc/300' ,
19- email : 'gustavo_hoffman @gmail.com' ,
19+ email : 'sabu_mon @gmail.com' ,
2020 identifier_hash : '' ,
2121 } ) ;
2222 const customAttributes = {
2323 accountId : 1 ,
2424 pricingPlan : 'paid' ,
2525 status : 'active' ,
2626 } ;
27- const websiteToken = '4cWzuf9i9jxN9tbnv8K9STKU ' ;
28- const baseUrl = 'https://lovely-newt-97.loca.lt ' ;
27+ const websiteToken = 'gUuQpz4wKSBZ36zpWyXtShrJ ' ;
28+ const baseUrl = 'https://staging.chatwoot.com ' ;
2929 const [ locale , setLocale ] = useState ( 'en' ) ;
3030
3131 return (
Original file line number Diff line number Diff line change 1111 "lint" : " eslint ."
1212 },
1313 "dependencies" : {
14- "@chatwoot/chatwoot- react-native-widget-testing " : " ^0.0.17 " ,
14+ "@chatwoot/react-native-widget" : " ^0.0.3 " ,
1515 "@react-native-async-storage/async-storage" : " ^1.14.1" ,
1616 "react" : " 17.0.1" ,
1717 "react-native" : " 0.64.0" ,
Original file line number Diff line number Diff line change 704704 resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39"
705705 integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==
706706
707- " @chatwoot/chatwoot- react-native-widget-testing @^0.0.17 " :
708- version "0.0.17 "
709- resolved "https://registry.yarnpkg.com/@chatwoot/chatwoot- react-native-widget-testing /-/chatwoot- react-native-widget-testing- 0.0.17 .tgz#3f19d9f4075eabdd6a58d746a4d7b3915d83dfec "
710- integrity sha512-GZk+8Q1YqwUu2lkFQTMLwkzCjOduFzxCtdnoduR0GO3AL+4gxqWLmlaKvdF7IGj4vUTXYDK2zRYL8rAUJxn3Ig ==
707+ " @chatwoot/react-native-widget@^0.0.3 " :
708+ version "0.0.3 "
709+ resolved "https://registry.yarnpkg.com/@chatwoot/react-native-widget/-/react-native-widget-0.0.3 .tgz#072b74d8fcb17564b8529bc537d33e0159787870 "
710+ integrity sha512-fhvc2mhIXHd039kJEthLt92yQcOR6ApeMOGFmDc2JXFlGE46d+oKJuVjU1x1lMtUT6Ndez6nGbrtp89ev6Ntpg ==
711711 dependencies :
712712 react-native-modal "^11.7.0"
713713
@@ -1356,11 +1356,6 @@ acorn@^8.0.5:
13561356 resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.1.0.tgz#52311fd7037ae119cbb134309e901aa46295b3fe"
13571357 integrity sha512-LWCF/Wn0nfHOmJ9rzQApGnxnvgfROzGilS8936rqN/lfcYkY9MYZzdMqN+2NJ4SlTc+m5HiSa+kNfDtI64dwUA==
13581358
1359- add@^2.0.6 :
1360- version "2.0.6"
1361- resolved "https://registry.yarnpkg.com/add/-/add-2.0.6.tgz#248f0a9f6e5a528ef2295dbeec30532130ae2235"
1362- integrity sha1-JI8Kn25aUo7yKV2+7DBTITCuIjU=
1363-
13641359ajv@^6.10.0, ajv@^6.10.2, ajv@^6.12.3, ajv@^6.12.4 :
13651360 version "6.12.6"
13661361 resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.12.6.tgz#baf5a62e802b07d977034586f8c3baf5adf26df4"
You can’t perform that action at this time.
0 commit comments