{"_id":"@asteriskzuo/react-native-easemob","_rev":"5-26a903e5dd8e1ed8c9cc210b7eb0bb7b","name":"@asteriskzuo/react-native-easemob","dist-tags":{"latest":"0.1.6"},"versions":{"0.1.0":{"name":"@asteriskzuo/react-native-easemob","version":"0.1.0","description":"easemob chat sdk of react-native.","main":"lib/commonjs/index","module":"lib/module/index","types":"lib/typescript/src/index.d.ts","react-native":"src/index","source":"src/index","scripts":{"test":"jest","typescript":"tsc --noEmit","lint":"eslint \"**/*.{js,ts,tsx}\"","prepare":"bob build","release":"release-it","example":"yarn --cwd example","pods":"cd example && pod-install --quiet","bootstrap":"yarn example && yarn && yarn pods","ddi":"cd example && yarn ios","dda":"cd example && yarn android","dds":"cd example && yarn start"},"keywords":["react-native","ios","android","easemob","chat","im"],"repository":{"type":"git","url":"git+https://github.com/AsteriskZuo/react-native-easemob.git"},"author":{"name":"asteriskzuo","email":"zuoyuhsywn@hotmail.com","url":"https://github.com/AsteriskZuo"},"license":"MIT","bugs":{"url":"https://github.com/AsteriskZuo/react-native-easemob/issues"},"homepage":"https://github.com/AsteriskZuo/react-native-easemob#readme","publishConfig":{"registry":"https://registry.npmjs.org/"},"devDependencies":{"@commitlint/config-conventional":"^11.0.0","@react-native-community/eslint-config":"^2.0.0","@release-it/conventional-changelog":"^2.0.0","@types/jest":"^26.0.0","@types/react":"^16.9.19","@types/react-native":"0.62.13","commitlint":"^11.0.0","eslint":"^7.2.0","eslint-config-prettier":"^7.0.0","eslint-plugin-prettier":"^3.1.3","husky":"^6.0.0","jest":"^26.0.1","pod-install":"^0.1.0","prettier":"^2.0.5","react":"16.13.1","react-native":"0.63.4","react-native-builder-bob":"^0.18.2","release-it":"^14.2.2","typescript":"^4.1.3"},"peerDependencies":{"react":"*","react-native":"*"},"jest":{"preset":"react-native","modulePathIgnorePatterns":["<rootDir>/example/node_modules","<rootDir>/lib/"]},"commitlint":{"extends":["@commitlint/config-conventional"]},"release-it":{"git":{"commitMessage":"chore: release ${version}","tagName":"v${version}"},"npm":{"publish":true},"github":{"release":true},"plugins":{"@release-it/conventional-changelog":{"preset":"angular"}}},"eslintConfig":{"root":true,"extends":["@react-native-community","prettier"],"rules":{"prettier/prettier":["error",{"quoteProps":"consistent","singleQuote":true,"tabWidth":2,"trailingComma":"es5","useTabs":false}]}},"eslintIgnore":["node_modules/","lib/"],"prettier":{"quoteProps":"consistent","singleQuote":true,"tabWidth":2,"trailingComma":"es5","useTabs":false},"react-native-builder-bob":{"source":"src","output":"lib","targets":["commonjs","module","typescript"]},"gitHead":"8a7c58a76aa727809475fc480994eaa03951b633","_id":"@asteriskzuo/react-native-easemob@0.1.0","_nodeVersion":"17.8.0","_npmVersion":"8.5.5","dist":{"integrity":"sha512-JiPqGiBQ2U6hh32A61QHqRhbvLNb+3DwvwJxoXahuWIzaGhzaPFbJ5SypS70xL1oAZtNqHfyus3LZNSlUEZ18w==","shasum":"722aa4b62d9171392adc47bf7a7c8aeb7bf11fa7","tarball":"https://registry.npmjs.org/@asteriskzuo/react-native-easemob/-/react-native-easemob-0.1.0.tgz","fileCount":180,"unpackedSize":1039386,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCpoMgyRsJfX8T2BufUduygjAexgoXDISBabk0XNPsJSgIgWl9aHhbB35pPPa6NjU/FrsUGQh16tnnbwWR/3YKeFTk="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiUn0XACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrXqg//aB3aXIFjdQshFVBFfFloOnGEHuPYE0YM5N6qSuJAfIji9fLZ\r\nYAfIN/BtH2UYEW6vAP88QEINTHOArIgPXG8/lS3bFLFMU58ds6drWONS0GB3\r\n1uj5BtqYXbo6Wi4QqHqdrp4rhP/M5fopyT0gQxH7sOh+yCJ82XWxZJuhoikn\r\nRCvUqeFsyX9a73cOL0pFLLdPhsZ/vFVT8Qu3/JVLN2rz5WMoSSZF3va+hTbG\r\nbGcv92+k9FC3LGaOMGEarxQnkGUfGIojAUO90ED6iqpQr9s/N8Me1+ITDFcC\r\nYMGAXjd4hPozlzMcQdsGbfX5f9HF0kfKtlK5+oMYgiZM1saf4ciYalfKYAZj\r\nGYrkp29EZp6d0TKIXePigWtJJ2DJihDQZDzoe2bzf3rc/lpvBRBjRn5sSvvO\r\nIyfR3sIP/IqVW8R12cp4GGYIcWg+X2N9mvuXIAL43OYz934S/pFAEVKDPZbr\r\nU1adDWi+QlTpQG6fl+sf6AVLslkuJl+OLdisbRlkcFuhaiVCPQ9Z2uRPyxWz\r\n8UXjzFGFl+opUfIjLxWJcCvRrmfPnVP1+BS2OI0F+jVjmi97P1DZgh6jnbY6\r\nAWcGAtxJAub+64kv7p7dPVz3MGRGZYwb0L/B00Ac0U0EhT1I6dTxQ+fNmZpJ\r\nuuEzPWrmwg04kS4gBoar1W0fm1Wf/EeZHOY=\r\n=HEJW\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"asteriskzuo","email":"zuoyuhsywn@hotmail.com"},"directories":{},"maintainers":[{"name":"asteriskzuo","email":"zuoyuhsywn@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-easemob_0.1.0_1649573143346_0.7098837268472322"},"_hasShrinkwrap":false},"0.1.2":{"name":"@asteriskzuo/react-native-easemob","version":"0.1.2","description":"easemob chat sdk of react-native.","main":"lib/commonjs/index","module":"lib/module/index","types":"lib/typescript/src/index.d.ts","react-native":"src/index","source":"src/index","scripts":{"test":"jest","typescript":"tsc --noEmit","lint":"eslint \"**/*.{js,ts,tsx}\"","prepare":"bob build","release":"release-it","example":"yarn --cwd example","pods":"cd example && pod-install --quiet","bootstrap":"yarn example && yarn && yarn pods","ddi":"cd example && yarn ios","dda":"cd example && yarn android","dds":"cd example && yarn start"},"keywords":["react-native","ios","android","easemob","chat","im"],"repository":{"type":"git","url":"git+https://github.com/AsteriskZuo/react-native-easemob.git"},"author":{"name":"asteriskzuo","email":"zuoyuhsywn@hotmail.com","url":"https://github.com/AsteriskZuo"},"license":"MIT","bugs":{"url":"https://github.com/AsteriskZuo/react-native-easemob/issues"},"homepage":"https://github.com/AsteriskZuo/react-native-easemob#readme","publishConfig":{"registry":"https://registry.npmjs.org/"},"devDependencies":{"@commitlint/config-conventional":"^11.0.0","@react-native-community/eslint-config":"^2.0.0","@release-it/conventional-changelog":"^2.0.0","@types/jest":"^26.0.0","@types/react":"^16.9.19","@types/react-native":"0.62.13","commitlint":"^11.0.0","eslint":"^7.2.0","eslint-config-prettier":"^7.0.0","eslint-plugin-prettier":"^3.1.3","husky":"^6.0.0","jest":"^26.0.1","pod-install":"^0.1.0","prettier":"^2.0.5","react":"16.13.1","react-native":"0.63.4","react-native-builder-bob":"^0.18.2","release-it":"^14.2.2","typescript":"^4.1.3"},"peerDependencies":{"react":"*","react-native":"*"},"jest":{"preset":"react-native","modulePathIgnorePatterns":["<rootDir>/example/node_modules","<rootDir>/lib/"]},"commitlint":{"extends":["@commitlint/config-conventional"]},"release-it":{"git":{"commitMessage":"chore: release ${version}","tagName":"v${version}"},"npm":{"publish":true},"github":{"release":true},"plugins":{"@release-it/conventional-changelog":{"preset":"angular"}}},"eslintConfig":{"root":true,"extends":["@react-native-community","prettier"],"rules":{"prettier/prettier":["error",{"quoteProps":"consistent","singleQuote":true,"tabWidth":2,"trailingComma":"es5","useTabs":false}]}},"eslintIgnore":["node_modules/","lib/"],"prettier":{"quoteProps":"consistent","singleQuote":true,"tabWidth":2,"trailingComma":"es5","useTabs":false},"react-native-builder-bob":{"source":"src","output":"lib","targets":["commonjs","module","typescript"]},"gitHead":"ffc8cc4b8d252e482b3ab4019da5110ec7c36fec","_id":"@asteriskzuo/react-native-easemob@0.1.2","_nodeVersion":"17.8.0","_npmVersion":"8.5.5","dist":{"integrity":"sha512-CXP283eDeSQqu2mEGodsYZ6n/mSnG0cr70Y1MzbkcHoiY/J2cYqhEQn897Hph9CAhN+412OLjk1Y0FipLwjIsw==","shasum":"76108a167cca23ab44ac72bb9e048b9aa8a74059","tarball":"https://registry.npmjs.org/@asteriskzuo/react-native-easemob/-/react-native-easemob-0.1.2.tgz","fileCount":379,"unpackedSize":2505456,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG93E6JIuqImov1OLedlKJnMVOwB2JzYqzzeM4bo+R29AiEA97KD42dLi47PIIM1jX/vhoAo6iitryfqPpeRwnz/6Is="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiU82CACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmocBQ/8C9F0AyRzTGIdxCHgpLWfFLdv9graVhqn6VzH3mtb1eoYrtbw\r\nf8+a4vmuq1p19GK8xV9TPjo9NwAr/6CoIuG5djJvyCDWBVWXfWKiHG3MKDF7\r\nOX6VSGhcbrulBtEGc+R9SihTINulNIvXMSho5ATG/9ViNLnKV0mF8SrmP/Fj\r\nHRHcbVQpkeTo9x3ZM8NFv3Nt4CmrbcZNmdhNB0UtLHbuewHi7vQnuGyTw/lx\r\npvUc+Z0TTX3EQlPRuCAHxi7cytA54GtTn34JRwzVzkk8ty/226OJpR8ieUAD\r\nCtn8a19x5FDo1v5v/fmwqoZnlfnwamAXgD9Qbvg7Uo99OCNvIh5nglJcDBOH\r\nlYjZAnPoCqPN9ToikYf0KjYV2/hruCEaZsQKsa/U1W2DhfC1Lkx3FMSFYGV2\r\nLU2YS12uPQeM3o0Duskm+3cYs1J9e28Biw23NceFCRed3GO/OO45ZOTA9Zb1\r\nic043tjsfUqn9DWvI0SlsXd5MT5WwFZ30s+Dr6A+IHBD+9L53ZKrLgbtGnkg\r\nRwh/98Hhxnz4AB4GL8iWJYI//gGPGiXIA+fmrREsCKFQWDl9aXB7EYypUufc\r\nQZRTZw+70xddTkQiGZTd2nbprc6d6HIC7lvLzxPXAi23ZhTvxp7PlFJW6EZ3\r\nAB7/n1JTYIjQc9q3NfViBeUrNxdF6ztMLk8=\r\n=Xg6U\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"asteriskzuo","email":"zuoyuhsywn@hotmail.com"},"directories":{},"maintainers":[{"name":"asteriskzuo","email":"zuoyuhsywn@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-easemob_0.1.2_1649659266728_0.9628010576225223"},"_hasShrinkwrap":false},"0.1.3":{"name":"@asteriskzuo/react-native-easemob","version":"0.1.3","description":"easemob chat sdk of react-native.","main":"lib/commonjs/index","module":"lib/module/index","types":"lib/typescript/src/index.d.ts","react-native":"src/index","source":"src/index","scripts":{"test":"jest","typescript":"tsc --noEmit","lint":"eslint \"**/*.{js,ts,tsx}\"","prepare":"bob build","release":"release-it","example":"yarn --cwd example","pods":"cd example && pod-install --quiet","bootstrap":"yarn example && yarn && yarn pods","ddi":"cd example && yarn ios","dda":"cd example && yarn android","dds":"cd example && yarn start"},"keywords":["react-native","ios","android","easemob","chat","im"],"repository":{"type":"git","url":"git+https://github.com/AsteriskZuo/react-native-easemob.git"},"author":{"name":"asteriskzuo","email":"zuoyuhsywn@hotmail.com","url":"https://github.com/AsteriskZuo"},"license":"MIT","bugs":{"url":"https://github.com/AsteriskZuo/react-native-easemob/issues"},"homepage":"https://github.com/AsteriskZuo/react-native-easemob#readme","publishConfig":{"registry":"https://registry.npmjs.org/"},"devDependencies":{"@commitlint/config-conventional":"^11.0.0","@react-native-community/eslint-config":"^2.0.0","@release-it/conventional-changelog":"^2.0.0","@types/jest":"^26.0.0","@types/react":"^16.9.19","@types/react-native":"0.62.13","commitlint":"^11.0.0","eslint":"^7.2.0","eslint-config-prettier":"^7.0.0","eslint-plugin-prettier":"^3.1.3","husky":"^6.0.0","jest":"^26.0.1","pod-install":"^0.1.0","prettier":"^2.0.5","react":"16.13.1","react-native":"0.63.4","react-native-builder-bob":"^0.18.2","release-it":"^14.2.2","typescript":"^4.1.3"},"peerDependencies":{"react":"*","react-native":"*"},"jest":{"preset":"react-native","modulePathIgnorePatterns":["<rootDir>/example/node_modules","<rootDir>/lib/"]},"commitlint":{"extends":["@commitlint/config-conventional"]},"release-it":{"git":{"commitMessage":"chore: release ${version}","tagName":"v${version}"},"npm":{"publish":true},"github":{"release":true},"plugins":{"@release-it/conventional-changelog":{"preset":"angular"}}},"eslintConfig":{"root":true,"extends":["@react-native-community","prettier"],"rules":{"prettier/prettier":["error",{"quoteProps":"consistent","singleQuote":true,"tabWidth":2,"trailingComma":"es5","useTabs":false}]}},"eslintIgnore":["node_modules/","lib/"],"prettier":{"quoteProps":"consistent","singleQuote":true,"tabWidth":2,"trailingComma":"es5","useTabs":false},"react-native-builder-bob":{"source":"src","output":"lib","targets":["commonjs","module","typescript"]},"gitHead":"4a72caab2e8d9ac80f8071fa56afe36e1f80b64d","_id":"@asteriskzuo/react-native-easemob@0.1.3","_nodeVersion":"17.8.0","_npmVersion":"8.5.5","dist":{"integrity":"sha512-w+3BZn1nET9WBe1nUH/lN4Y6eTOzVV2ptFj5Zffr7KY73PBLKEk42LkjjZGwbEJyU4bI7bay1P9sKWn+3NlIGw==","shasum":"2791d80236808279dfbe2c252e173b2a36eefc0d","tarball":"https://registry.npmjs.org/@asteriskzuo/react-native-easemob/-/react-native-easemob-0.1.3.tgz","fileCount":379,"unpackedSize":2505456,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEa8P4VdwEEk7Q6fV6QFkCiAgUCMxZomSz9xyahv9kg+AiEAoSfALwG9Qj/k8KekTv5dSbX8jrYaZCuRjCP2WXU81Wg="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiU+MqACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrEixAAjJCL3EjToVEZUfV8h2sHDXz7aOcSugyOxYMWJsGo8jcATQUA\r\nMgAGRs0sIf0t1F9mvzBNZwSh1s1P+Go4VP1N/6XOTGAC1Y5/owl3WMLNwJC9\r\nwklW4alVOJqRoawJdXiOa6ApRuOxJWNqp8Q6sB2SYFD+dLd1IbzEage2RO9G\r\nxmlbSDTPya5FOjGFiyT0qpDGZoXXSV46tji40tRHwao86qo9m30Za5GDl3FB\r\n3jTk/wrMLoy1UeDtw/WqnNEyjwAk3PICY7wwr5hU3VpE4sgy0d4dj1ZcQeHz\r\nh3S3NWd8GoCF0J+nityJIecNAi+hG3LakT6jkg6TvGqBr20gw7TRf1JkPSSG\r\n/LrjHuigjmwzihHN9EYhZkDQhfoVRXRuobZdcL5RskitIZygYHtGtgzzo3Sk\r\nCPDT+fA4XZ+Xy9mp0Yt9jMl+dDvneGRlE+4KNhgrOxyZ+fQXxqgtNc0Pat0V\r\nbwPCYXc/k0X7AOf2jcwCOZvuZ3rCvJjj8alGvjbEBFkyfC5F4nh487+vbASB\r\nudEuy3t0EMt7TE/nt9ZcF00hZCeLUq6SHKSz/K9uhPMDzYyjurHQ24JnA2dp\r\n5bLW9FRYdwCpVKVPnMmGBAAPbhrVgYM5Ahh1a57VbexShZS//uuN9OaPJW1V\r\ndufOyu3gI693xMqghVcB+9U6NOxpPvOr+z4=\r\n=yWyk\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"asteriskzuo","email":"zuoyuhsywn@hotmail.com"},"directories":{},"maintainers":[{"name":"asteriskzuo","email":"zuoyuhsywn@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-easemob_0.1.3_1649664810551_0.7882674746772349"},"_hasShrinkwrap":false},"0.1.4":{"name":"@asteriskzuo/react-native-easemob","version":"0.1.4","description":"easemob chat sdk of react-native.","main":"lib/commonjs/index","module":"lib/module/index","types":"lib/typescript/src/index.d.ts","react-native":"src/index","source":"src/index","scripts":{"test":"jest","typescript":"tsc --noEmit","lint":"eslint \"**/*.{js,ts,tsx}\"","prepare":"bob build","release":"release-it","example":"yarn --cwd example","pods":"cd example && pod-install --quiet","bootstrap":"yarn example && yarn && yarn pods","ddi":"cd example && yarn ios","dda":"cd example && yarn android","dds":"cd example && yarn start"},"keywords":["react-native","ios","android","easemob","chat","im"],"repository":{"type":"git","url":"git+https://github.com/AsteriskZuo/react-native-easemob.git"},"author":{"name":"asteriskzuo","email":"zuoyuhsywn@hotmail.com","url":"https://github.com/AsteriskZuo"},"license":"MIT","bugs":{"url":"https://github.com/AsteriskZuo/react-native-easemob/issues"},"homepage":"https://github.com/AsteriskZuo/react-native-easemob#readme","publishConfig":{"registry":"https://registry.npmjs.org/"},"devDependencies":{"@commitlint/config-conventional":"^11.0.0","@react-native-community/eslint-config":"^2.0.0","@release-it/conventional-changelog":"^2.0.0","@types/jest":"^26.0.0","@types/react":"^16.9.19","@types/react-native":"0.62.13","commitlint":"^11.0.0","eslint":"^7.2.0","eslint-config-prettier":"^7.0.0","eslint-plugin-prettier":"^3.1.3","husky":"^6.0.0","jest":"^26.0.1","pod-install":"^0.1.0","prettier":"^2.0.5","react":"16.13.1","react-native":"0.63.4","react-native-builder-bob":"^0.18.2","release-it":"^14.2.2","typescript":"^4.1.3"},"peerDependencies":{"react":"*","react-native":"*"},"jest":{"preset":"react-native","modulePathIgnorePatterns":["<rootDir>/example/node_modules","<rootDir>/lib/"]},"commitlint":{"extends":["@commitlint/config-conventional"]},"release-it":{"git":{"commitMessage":"chore: release ${version}","tagName":"v${version}"},"npm":{"publish":true},"github":{"release":true},"plugins":{"@release-it/conventional-changelog":{"preset":"angular"}}},"eslintConfig":{"root":true,"extends":["@react-native-community","prettier"],"rules":{"prettier/prettier":["error",{"quoteProps":"consistent","singleQuote":true,"tabWidth":2,"trailingComma":"es5","useTabs":false}]}},"eslintIgnore":["node_modules/","lib/"],"prettier":{"quoteProps":"consistent","singleQuote":true,"tabWidth":2,"trailingComma":"es5","useTabs":false},"react-native-builder-bob":{"source":"src","output":"lib","targets":["commonjs","module","typescript"]},"gitHead":"bc5c7c4ac47c4e095f338df964f36d912151cea2","_id":"@asteriskzuo/react-native-easemob@0.1.4","_nodeVersion":"17.8.0","_npmVersion":"8.5.5","dist":{"integrity":"sha512-1umBfhBdJJ61oOQPKtkAiwR8/jORUGds3qqvy4Kl+DVTzrsx7bu5OBTdOPwrGfVQX5pJf2Ejr/a3LCTCYs9Skw==","shasum":"d5b9d8f630cb83d23f64224e4e7c20575a8e1103","tarball":"https://registry.npmjs.org/@asteriskzuo/react-native-easemob/-/react-native-easemob-0.1.4.tgz","fileCount":380,"unpackedSize":2506796,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCMf+Ha+RuneOK4fCOfZ5Ev6mfLQ3YRwHRSmVut5OI/VQIhAIBWIuf43r1FlvfqzBd0myJtsCRPQPw90VwEbXvJQAS4"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiU+RsACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmocFA/+KoRFMClRl2aSPO1BN7uBdA08ikjZ4I5/w6syQ9SrKsaRBzHj\r\nfl09TUE0+1+vDVmNpoXEVnjdATYPDaIDeKSJi2Rep1YFpvHFfVPMPlZtdZ0x\r\n+5Uy2p9KN4qYh6Lo5jyWbjOPvxXXutE8qzKnAvVnkyQpnKbN2Sd7FOgpnS5R\r\nISaRntrjZYjAlBhxjYLLhIT+sFo+rZKuXYraKyb5xDQ+M32i6qB4+cD0TnsX\r\n6yXzhGn8nxMjKVEh62IkJL9lawZoRrHuLETlqoq+EJ2l2NXQsxpDL+K63Xqd\r\notDF1Zr23KWJ1aEcuaItBd6XnRMqIf2YQSIl7mIXCXJJr0OE7+j8x6/lWBk0\r\nteLZsPBLAgTEKfnDJszfkpV08R6cspixeG0BGEOvvOhlFv2yC/eghMXXionI\r\nUflxDquQW+sPWRH/rmU6A+o6F0wF8GGilzSGhpzT1cV5Ho42jiO+NTPbIQNb\r\nqfGOc+0BDgZqAaH2bjNVhv2W4mci3yDDts/PJMuZFuNVKdYZSH+Pbh9/y/Cv\r\nH0S/giGSrnIEkOOO9zbKUKXpA8MjKtSJIvcZq/97YgbeFcq5FTrVZvlL85Po\r\nXDSScngEs3U97ijoTACPTqs34SJKXmAOzKo/8QGC1p/KI2lK5eU+R7npDR+h\r\n2nR/Ik9eMMqGnG6bmecw0MCw9mS/nCLmcUI=\r\n=6Vav\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"asteriskzuo","email":"zuoyuhsywn@hotmail.com"},"directories":{},"maintainers":[{"name":"asteriskzuo","email":"zuoyuhsywn@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-easemob_0.1.4_1649665132019_0.6850035562385468"},"_hasShrinkwrap":false},"0.1.5":{"name":"@asteriskzuo/react-native-easemob","version":"0.1.5","description":"easemob chat sdk of react-native.","main":"lib/commonjs/index","module":"lib/module/index","types":"lib/typescript/src/index.d.ts","react-native":"src/index","source":"src/index","scripts":{"test":"jest","typescript":"tsc --noEmit","lint":"eslint \"**/*.{js,ts,tsx}\"","prepare":"bob build","release":"release-it","example":"yarn --cwd example","pods":"cd example && pod-install --quiet","bootstrap":"yarn example && yarn && yarn pods","ddi":"cd example && yarn ios","dda":"cd example && yarn android","dds":"cd example && yarn start"},"keywords":["react-native","ios","android","easemob","chat","im"],"repository":{"type":"git","url":"git+https://github.com/AsteriskZuo/react-native-easemob.git"},"author":{"name":"asteriskzuo","email":"zuoyuhsywn@hotmail.com","url":"https://github.com/AsteriskZuo"},"license":"MIT","bugs":{"url":"https://github.com/AsteriskZuo/react-native-easemob/issues"},"homepage":"https://github.com/AsteriskZuo/react-native-easemob#readme","publishConfig":{"registry":"https://registry.npmjs.org/"},"devDependencies":{"@commitlint/config-conventional":"^11.0.0","@react-native-community/eslint-config":"^2.0.0","@release-it/conventional-changelog":"^2.0.0","@types/jest":"^26.0.0","@types/react":"^16.9.19","@types/react-native":"0.62.13","commitlint":"^11.0.0","eslint":"^7.2.0","eslint-config-prettier":"^7.0.0","eslint-plugin-prettier":"^3.1.3","husky":"^6.0.0","jest":"^26.0.1","pod-install":"^0.1.0","prettier":"^2.0.5","react":"16.13.1","react-native":"0.63.4","react-native-builder-bob":"^0.18.2","release-it":"^14.2.2","typescript":"^4.1.3"},"peerDependencies":{"react":"*","react-native":"*"},"jest":{"preset":"react-native","modulePathIgnorePatterns":["<rootDir>/example/node_modules","<rootDir>/lib/"]},"commitlint":{"extends":["@commitlint/config-conventional"]},"release-it":{"git":{"commitMessage":"chore: release ${version}","tagName":"v${version}"},"npm":{"publish":true},"github":{"release":true},"plugins":{"@release-it/conventional-changelog":{"preset":"angular"}}},"eslintConfig":{"root":true,"extends":["@react-native-community","prettier"],"rules":{"prettier/prettier":["error",{"quoteProps":"consistent","singleQuote":true,"tabWidth":2,"trailingComma":"es5","useTabs":false}]}},"eslintIgnore":["node_modules/","lib/"],"prettier":{"quoteProps":"consistent","singleQuote":true,"tabWidth":2,"trailingComma":"es5","useTabs":false},"react-native-builder-bob":{"source":"src","output":"lib","targets":["commonjs","module","typescript"]},"gitHead":"5fd3e8694ebda80b196215dbac72d99879bfdeb7","_id":"@asteriskzuo/react-native-easemob@0.1.5","_nodeVersion":"17.8.0","_npmVersion":"8.5.5","dist":{"integrity":"sha512-Xdu/XqFYErM8aWDNqPDKocZIUnFuWyu6ohKPBowy25zEXNEttVYGGUZRMdlRpYJTBWFFvy3xw5Qw2JMxIO1i3A==","shasum":"2b2d123bb8f324ed03b99c4cbad73736a588071a","tarball":"https://registry.npmjs.org/@asteriskzuo/react-native-easemob/-/react-native-easemob-0.1.5.tgz","fileCount":382,"unpackedSize":2403933,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGnCd/tDsTK/QjSBEWGsDUhCIeOMnwsUrcn8lLinTh/GAiBToVrCJjsIxH6mOVrGS/qObUlUnpEmphRQ3MmAYmc12Q=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiWBuiACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqnbhAAipQByoWahD/XWaTQ7lVVGNfUgN1+qvPSfPZIOQnkWETvr3E0\r\nU6MorZ9nPsDdJ3J6T46/17zqC+zEBgErhf6uqbjxOuB9tpcHFEsnBL7miZHh\r\npGbA7UBCJIOpuH05OQD4R/T8o+SacD1ShKlvOg1VBjyX6pQEnL9EfQDjf7V8\r\njYRJQOO8pgqZLo3i1A67BQ6bAVmXELQK8Gj1RhjUX0RDc9M66REZOjNWdUYo\r\nMBcwZwi21Qd/OeLs86XocWDynrC24RvzPgGnSnjAFZ9Ksro16utQ2BBWkVp3\r\nAIN2Psn4jhC1g4/xNFaOCYcpUOf5IG7zcbWfStOITBgZiHcLTj7YkdNfOpNf\r\n8LxP/S29p2d790WjLPiVssaMy412+bJcvpC0Fnin4f1jaY8OJfmNTUSPOM4M\r\nZeNYk22m+YM3zBO12TY8TrpbrvR/lDqShRv877L6pHfTslWjJQ60VPIWKij+\r\nqZ1hNR5Y2vipw0TnbThhktjI2qN9OeMabc3pq3q6TYUTqWUqaolU7+AMgPYR\r\nkqQXkB2bg0KoB/PFsTUi1PNf6ek79s11Dlt43Q3UG1Mf7LUtL0R1vfBM8dlf\r\n+uwq29B5z+2rCMaWr+u1s/Ym5DmbOuvSSz73YG4NEpZgePIxh1qkW9En+SdE\r\n2jC32bdjtx/S7I0qfSQDe3WCOvr/XkTcndo=\r\n=yfTT\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"asteriskzuo","email":"zuoyuhsywn@hotmail.com"},"directories":{},"maintainers":[{"name":"asteriskzuo","email":"zuoyuhsywn@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-easemob_0.1.5_1649941409984_0.27225560390188885"},"_hasShrinkwrap":false},"0.1.6":{"name":"@asteriskzuo/react-native-easemob","version":"0.1.6","description":"easemob chat sdk of react-native.","main":"lib/commonjs/index","module":"lib/module/index","types":"lib/typescript/src/index.d.ts","react-native":"src/index","source":"src/index","scripts":{"test":"jest","typescript":"tsc --noEmit","lint":"eslint \"**/*.{js,ts,tsx}\"","prepare":"bob build","release":"release-it","example":"yarn --cwd example","pods":"cd example && pod-install --quiet","bootstrap":"yarn example && yarn && yarn pods","ddi":"cd example && yarn ios","dda":"cd example && yarn android","dds":"cd example && yarn start"},"keywords":["react-native","ios","android","easemob","chat","im"],"repository":{"type":"git","url":"git+https://github.com/AsteriskZuo/react-native-easemob.git"},"author":{"name":"asteriskzuo","email":"zuoyuhsywn@hotmail.com","url":"https://github.com/AsteriskZuo"},"license":"MIT","bugs":{"url":"https://github.com/AsteriskZuo/react-native-easemob/issues"},"homepage":"https://github.com/AsteriskZuo/react-native-easemob#readme","publishConfig":{"registry":"https://registry.npmjs.org/"},"devDependencies":{"@commitlint/config-conventional":"^11.0.0","@react-native-community/eslint-config":"^2.0.0","@release-it/conventional-changelog":"^2.0.0","@types/jest":"^26.0.0","@types/react":"^16.9.19","@types/react-native":"0.62.13","commitlint":"^11.0.0","eslint":"^7.2.0","eslint-config-prettier":"^7.0.0","eslint-plugin-prettier":"^3.1.3","husky":"^6.0.0","jest":"^26.0.1","pod-install":"^0.1.0","prettier":"^2.0.5","react":"16.13.1","react-native":"0.63.4","react-native-builder-bob":"^0.18.2","release-it":"^14.2.2","typescript":"^4.1.3"},"peerDependencies":{"react":"*","react-native":"*"},"jest":{"preset":"react-native","modulePathIgnorePatterns":["<rootDir>/example/node_modules","<rootDir>/lib/"]},"commitlint":{"extends":["@commitlint/config-conventional"]},"release-it":{"git":{"commitMessage":"chore: release ${version}","tagName":"v${version}"},"npm":{"publish":true},"github":{"release":true},"plugins":{"@release-it/conventional-changelog":{"preset":"angular"}}},"eslintConfig":{"root":true,"extends":["@react-native-community","prettier"],"rules":{"prettier/prettier":["error",{"quoteProps":"consistent","singleQuote":true,"tabWidth":2,"trailingComma":"es5","useTabs":false}]}},"eslintIgnore":["node_modules/","lib/"],"prettier":{"quoteProps":"consistent","singleQuote":true,"tabWidth":2,"trailingComma":"es5","useTabs":false},"react-native-builder-bob":{"source":"src","output":"lib","targets":["commonjs","module","typescript"]},"gitHead":"b50e21b97b5604062d14a77da9d039f1f2523aa2","_id":"@asteriskzuo/react-native-easemob@0.1.6","_nodeVersion":"17.8.0","_npmVersion":"8.5.5","dist":{"integrity":"sha512-CRZFzv+PpzbC0ry0ABkAR0V/u9xAjSuRY+42WQbbNIsNnHzttQti2QMy1YQHiUB/JgI0agE/oxLiJ2RzwcaWiw==","shasum":"365104927df132d26301065a3e246c74d256aa06","tarball":"https://registry.npmjs.org/@asteriskzuo/react-native-easemob/-/react-native-easemob-0.1.6.tgz","fileCount":382,"unpackedSize":2372276,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDoRHhgt+0e19AcIn5fTURpXeP+H+JkefcTQZztlVh8sgIhAOcUKOjZc7jG7RQo65Xc/kixSJ+4rMDVBgG0zrcJB+4r"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiW3YfACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpuxRAAoWjdHcXqF+4AmA4KLj3YdlDER5GAyv49AZK8BYtboE93CAMO\r\nm8nPNUIDWv5Ez5Gmn1Tzs2X1XgFR77CGUhPP7VkKgBjrhbHODjPeWtg9G2bN\r\nNkOsWAJYDGcz7y3TjvH4S9tROOVduPIbpyclQAHwEaxDBrcEfpr0XmPN2CKm\r\nto6CNKYLMa8sZZEpi2LlCgNVqYqLXy33/yeZKVbsiU8w54bMBthigVO801En\r\nq04IY7OF1gGPJlcLwW3qBbHRCcfJhjNHRNNyjd/iXtuOXL0StqoINDGdmnyS\r\nAUpTVM1JntT2iomgHZ7+fyXedsjeaQ2QwbOmfyiBl6zJg+98r2T74sV0i4lT\r\nRmPQf0bICJXT76uLZmOdeWpdDbu5ZQnDUqLQvAHeuQvmD9EjAd1XxZM2P/Z7\r\nih3ppdWbt0pMDLvIKyRxSIHenNLxulduFWRWYiLwjI4HuHJHCmoKABbhPHMK\r\nnVccIuTlC3mcHnHREgM+37tlyENuLJZsG5a8QeX1uZHipfiDfF5HjNHhIHaa\r\njzAXp71pfA7tGQN82h64zHnfF5tx+vGL7RCAED1A6fI2/XDladA7bzDBhV4s\r\nIK9knhYV38FF5tLUPnRYpEuX7oYl/aQIbpaj1rnoqbTT3QiGjuu0kqE7jPV9\r\nk6r8l8pqmJcxQ/pUpLyaQugUNi5sFE4bef8=\r\n=c4F6\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"asteriskzuo","email":"zuoyuhsywn@hotmail.com"},"directories":{},"maintainers":[{"name":"asteriskzuo","email":"zuoyuhsywn@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-easemob_0.1.6_1650161183491_0.6581674422972292"},"_hasShrinkwrap":false}},"time":{"created":"2022-04-10T06:45:43.286Z","0.1.0":"2022-04-10T06:45:43.558Z","modified":"2022-04-17T02:06:23.745Z","0.1.2":"2022-04-11T06:41:06.954Z","0.1.3":"2022-04-11T08:13:30.749Z","0.1.4":"2022-04-11T08:18:52.308Z","0.1.5":"2022-04-14T13:03:30.208Z","0.1.6":"2022-04-17T02:06:23.675Z"},"maintainers":[{"name":"asteriskzuo","email":"zuoyuhsywn@hotmail.com"}],"description":"easemob chat sdk of react-native.","homepage":"https://github.com/AsteriskZuo/react-native-easemob#readme","keywords":["react-native","ios","android","easemob","chat","im"],"repository":{"type":"git","url":"git+https://github.com/AsteriskZuo/react-native-easemob.git"},"author":{"name":"asteriskzuo","email":"zuoyuhsywn@hotmail.com","url":"https://github.com/AsteriskZuo"},"bugs":{"url":"https://github.com/AsteriskZuo/react-native-easemob/issues"},"license":"MIT","readme":"# 环信即时通讯 IM React-Native 快速入门\n\n更新时间：2022-04-14\n\n本文介绍如何快速集成环信即时通讯 IM React-Native SDK 实现单聊。\n\n## 环境要求\n\n- MacOS 10.15.7 或以上版本\n- Xcode 12.4 或以上版本，包括命令行工具\n- Android Studio 4.0 或以上版本，包括 JDK1.8 以上版本\n- NodeJs 16 或以上版本，包含 npm 包管理工具\n- Cocoapods 包管理工具\n- Yarn 编译运行工具\n- Watchman 调试工具\n- react-native-cli 命令行工具\n- ios-deploy 非Xcode编译react-native工具（可选）\n- react 版本不低于16.13.1\n- react-native 版本不低于0.63.4\n\n### 配置环境\n\n[配置开发或者运行环境如果遇到问题，请参考这里](./docs/developer.md)\n\n## 注册开发者账号\n\n注册开发者账号，以及获取`appkey`获取，[传送门](https://console.easemob.com/user/login)。\n\n## 创建`react-native app`项目\n\n```bash\nnpx react-native init rn_demo\ncd rn_demo\nyarn\n```\n\n## 集成`IM react-native SDK`\n\n```bash\nyarn add react-native-easemob\n```\n如果是第一次运行`yarn`则还是额外执行一下命令:   \n```bash\ncd node_modules/@asteriskzuo/react-native-easemob/native_src/cpp \nsh generate.sh --type rn\n```\n\n## 代码实现\n\n1. 初始化\n\n```typescript\nChatClient.getInstance().init(\n  new ChatOptions({ appKey: 'easemob-demo#easeim', autoLogin: false })\n);\n```\n\n2. 用户登录\n\n```typescript\nChatClient.getInstance().login('asteriskhx1', 'qwer');\n```\n\n3. 接收消息（可选）\n\n```typescript\nlet msgListener = new (class ss implements ChatManagerListener {\n  that: ConnectScreen;\n  constructor(parent: any) {\n    this.that = parent as ConnectScreen;\n  }\n  onMessagesReceived(messages: ChatMessage[]): void {\n    console.log('ConnectScreen.onMessagesReceived', messages);\n    this.that.msgId = (++ConnectScreen.count).toString();\n    this.that.setState({ message: 'onMessagesReceived' });\n  }\n  onCmdMessagesReceived(messages: ChatMessage[]): void {\n    console.log('ConnectScreen.onCmdMessagesReceived', messages);\n    this.that.setState({ message: 'onCmdMessagesReceived' });\n  }\n  onMessagesRead(messages: ChatMessage[]): void {\n    console.log('ConnectScreen.onMessagesRead', messages);\n    this.that.setState({ message: 'onMessagesRead' });\n  }\n  onGroupMessageRead(groupMessageAcks: ChatGroupMessageAck[]): void {\n    console.log('ConnectScreen.onGroupMessageRead', groupMessageAcks);\n    this.that.setState({ message: 'onGroupMessageRead' });\n  }\n  onMessagesDelivered(messages: ChatMessage[]): void {\n    console.log('ConnectScreen.onMessagesDelivered', messages);\n    this.that.setState({ message: 'onMessagesDelivered' });\n  }\n  onMessagesRecalled(messages: ChatMessage[]): void {\n    console.log('ConnectScreen.onMessagesRecalled', messages);\n    this.that.setState({ message: 'onMessagesRecalled' });\n  }\n  onConversationsUpdate(): void {\n    console.log('ConnectScreen.onConversationsUpdate');\n    this.that.setState({ message: 'onConversationsUpdate' });\n  }\n  onConversationRead(from: string, to?: string): void {\n    console.log('ConnectScreen.onConversationRead', from, to);\n    this.that.setState({ message: 'onConversationRead' });\n  }\n})(this);\n\nChatClient.getInstance().chatManager.addListener(msgListener);\n```\n\n4. 发送文本消息\n\n```typescript\nlet msg = ChatMessage.createTextMessage(\n  'asteriskhx2',\n  Date.now().toString(),\n  ChatMessageChatType.PeerChat\n);\nconst callback = new (class s implements ChatMessageStatusCallback {\n  that: ConnectScreen;\n  constructor(cs: ConnectScreen) {\n    this.that = cs;\n  }\n  onProgress(locaMsgId: string, progress: number): void {\n    console.log('ConnectScreen.sendMessage.onProgress ', locaMsgId, progress);\n  }\n  onError(locaMsgId: string, error: ChatError): void {\n    console.log('ConnectScreen.sendMessage.onError ', locaMsgId, error);\n    if (this.that.messages.has(locaMsgId)) {\n      let m = this.that.messages.get(locaMsgId);\n      if (m) {\n        m.status = ChatMessageStatus.FAIL;\n      }\n      this.that.updateMessageStatus(ChatMessageStatus.FAIL);\n    }\n  }\n  onSuccess(message: ChatMessage): void {\n    console.log('ConnectScreen.sendMessage.onSuccess', message.localMsgId);\n    if (this.that.messages.has(message.localMsgId)) {\n      this.that.messages.set(message.localMsgId, message);\n\n      const m = this.that.messages.get(message.localMsgId);\n      if (m) {\n        m.status = ChatMessageStatus.SUCCESS;\n      }\n\n      this.that.updateMessageStatus(message.status);\n    }\n  }\n})(this);\nthis.messages.set(msg.localMsgId, msg);\nChatClient.getInstance()\n  .chatManager.sendMessage(msg, callback)\n  .then(() => console.log('send success'))\n  .catch(() => console.log('send failed'));\n```\n\n5. 退出登录\n\n```typescript\nChatClient.getInstance().logout();\n```\n\n6. 运行\n```bash\n# 运行服务\nyarn start\n\n# 运行android\n# 如果是第一次运行android 则需要注意，需要手机和电脑在同一个网络，并且设置端口数据转发`adb reverse tcp:8081 tcp:8081`\nyarn android\n\n# 运行ios，默认是模拟器但react-native部分组件可能不支持\nyarn ios\n\n# 运行ios真机 需要使用xcode打开设置好签名, 并且运行`cd ios && pod install`\nnpx react-native run-ios --device ${iphone-name}\n```\n\n## 快速 demo 体验\n\n可以下载源码运行 example 下的 demo，进行体验。 [传送门](https://github.com/AsteriskZuo/react-native-easemob)。\n\n## Q&A\n\n[如果遇到问题可以参考这里](./docs/others.md)\n","readmeFilename":"README.md"}