{"_id":"@amir-hossein-karimi/react-native-android-sms-verification-api","_rev":"6-c424b9c57800c35a6e398e560827d55d","name":"@amir-hossein-karimi/react-native-android-sms-verification-api","dist-tags":{"latest":"1.1.11"},"versions":{"1.0.6":{"name":"@amir-hossein-karimi/react-native-android-sms-verification-api","version":"1.0.6","keywords":["react-native","ios","android","sms","sms verification","sms retriver","sms user consent"],"author":{"url":"https://github.com/amir-hossein-karimi","name":"amir","email":"a.hosseinkarimi82@gmail.com"},"license":"MIT","_id":"@amir-hossein-karimi/react-native-android-sms-verification-api@1.0.6","maintainers":[{"name":"amir-hossein-karimi","email":"a.hosseinkarimi82@gmail.com"}],"homepage":"https://github.com/amir-hossein-karimi/react-native-android-sms-verification-api#readme","bugs":{"url":"https://github.com/amir-hossein-karimi/react-native-android-sms-verification-api/issues"},"dist":{"shasum":"49a6560c8fb920f5a7dadeb2c5fb816477a35d80","tarball":"https://registry.npmjs.org/@amir-hossein-karimi/react-native-android-sms-verification-api/-/react-native-android-sms-verification-api-1.0.6.tgz","fileCount":20,"integrity":"sha512-QQS8aQ6QTSS1CNE10jQU9glWioPNkF6l2zJuXc7ltWqQ/dDao80aVOWvo6+Yg2xkVS+/tY1tcCoWIsFWc2qFIQ==","signatures":[{"sig":"MEYCIQDw2nWdMCmEpPlVcxZeefEubnUJO7YAB3RomDut+i0/PwIhAMZMmt8Bf/2IuJqPnpFshNtlEupwIAsh/0fr8/khQ1+y","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":101978},"jest":{"preset":"react-native","modulePathIgnorePatterns":["<rootDir>/example/node_modules","<rootDir>/lib/"]},"main":"lib/commonjs/index","husky":{"hooks":{"pre-commit":"yarn lint && yarn typescript"}},"types":"lib/typescript/index.d.ts","module":"lib/module/index","source":"src/index","gitHead":"c11ec21482f5e122b4579fa769b99753e87564b0","scripts":{"docs":"typedoc src/index.tsx --theme minimal","lint":"eslint \"**/*.{js,ts,tsx}\"","pods":"cd example && pod-install --quiet","test":"jest","example":"yarn --cwd example","release":"release-it","bootstrap":"yarn example && yarn && yarn pods","typescript":"tsc --noEmit"},"_npmUser":{"name":"amir-hossein-karimi","email":"a.hosseinkarimi82@gmail.com"},"prettier":{"useTabs":false,"tabWidth":2,"quoteProps":"consistent","singleQuote":true,"trailingComma":"es5"},"commitlint":{"extends":["@commitlint/config-conventional"]},"release-it":{"git":{"tagName":"v${version}","commitMessage":"chore: release ${version}"},"npm":{"publish":true},"github":{"release":true},"plugins":{"@release-it/conventional-changelog":{"preset":"angular"}}},"repository":{"url":"git+https://github.com/amir-hossein-karimi/react-native-android-sms-verification-api.git","type":"git"},"_npmVersion":"10.7.0","description":"A wrapper for the Android SMS Verification API. Includes both SMS Retriever for Zero-tap SMS verification and SMS User Consent for the One-tap SMS verification","directories":{},"_nodeVersion":"18.20.3","eslintConfig":{"root":true,"rules":{"prettier/prettier":["error",{"useTabs":false,"tabWidth":2,"quoteProps":"consistent","singleQuote":true,"trailingComma":"es5"}]},"extends":["@react-native-community","prettier"]},"eslintIgnore":["node_modules/","lib/","docs/"],"react-native":"src/index","publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.0.1","husky":"^4.2.5","react":"16.13.1","eslint":"^7.2.0","typedoc":"^0.20.24","prettier":"^2.0.5","commitlint":"^11.0.0","release-it":"^14.2.2","typescript":"^4.1.3","@types/jest":"^26.0.0","pod-install":"^0.1.0","@types/react":"^16.9.19","react-native":"0.63.4","@types/react-native":"0.62.13","eslint-config-prettier":"^7.0.0","eslint-plugin-prettier":"^3.1.3","react-native-builder-bob":"^0.17.1","@commitlint/config-conventional":"^11.0.0","@release-it/conventional-changelog":"^2.0.0","@react-native-community/eslint-config":"^2.0.0"},"peerDependencies":{"react":"*","react-native":"*"},"_npmOperationalInternal":{"tmp":"tmp/react-native-android-sms-verification-api_1.0.6_1721154392799_0.8428493695018295","host":"s3://npm-registry-packages"}},"1.1.6":{"name":"@amir-hossein-karimi/react-native-android-sms-verification-api","version":"1.1.6","keywords":["react-native","ios","android","sms","sms verification","sms retriver","sms user consent"],"author":{"url":"https://github.com/amir-hossein-karimi","name":"amir","email":"a.hosseinkarimi82@gmail.com"},"license":"MIT","_id":"@amir-hossein-karimi/react-native-android-sms-verification-api@1.1.6","maintainers":[{"name":"amir-hossein-karimi","email":"a.hosseinkarimi82@gmail.com"}],"homepage":"https://github.com/amir-hossein-karimi/react-native-android-sms-verification-api#readme","bugs":{"url":"https://github.com/amir-hossein-karimi/react-native-android-sms-verification-api/issues"},"dist":{"shasum":"e9c0f35284a46bb826e4e8729186c059de5bfb9e","tarball":"https://registry.npmjs.org/@amir-hossein-karimi/react-native-android-sms-verification-api/-/react-native-android-sms-verification-api-1.1.6.tgz","fileCount":20,"integrity":"sha512-Hs+K8sjxCjbIYn0gDuhPmJRDHGg7ulxbtrn4EKgodhziZB0bO/VM7Frqmwhqym6JqUT/ka/ndsfmPB9dycGwcQ==","signatures":[{"sig":"MEUCIQDo7xZ6epv5WDc4PzVnj51mkR2hJxSlE4nCJ7vOhW19UgIgU/IUxPC9DfhgLMfACkE/hOD56y5IZ2z2QqTAYBOkHAk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":102025},"jest":{"preset":"react-native","modulePathIgnorePatterns":["<rootDir>/example/node_modules","<rootDir>/lib/"]},"main":"lib/commonjs/index","husky":{"hooks":{"pre-commit":"yarn lint && yarn typescript"}},"types":"lib/typescript/index.d.ts","module":"lib/module/index","source":"src/index","gitHead":"ab95a6fedea84a0bf24ad84edf0700f45b49b51c","scripts":{"docs":"typedoc src/index.tsx --theme minimal","lint":"eslint \"**/*.{js,ts,tsx}\"","pods":"cd example && pod-install --quiet","test":"jest","example":"yarn --cwd example","release":"release-it","bootstrap":"yarn example && yarn && yarn pods","typescript":"tsc --noEmit"},"_npmUser":{"name":"amir-hossein-karimi","email":"a.hosseinkarimi82@gmail.com"},"prettier":{"useTabs":false,"tabWidth":2,"quoteProps":"consistent","singleQuote":true,"trailingComma":"es5"},"commitlint":{"extends":["@commitlint/config-conventional"]},"release-it":{"git":{"tagName":"v${version}","commitMessage":"chore: release ${version}"},"npm":{"publish":true},"github":{"release":true},"plugins":{"@release-it/conventional-changelog":{"preset":"angular"}}},"repository":{"url":"git+https://github.com/amir-hossein-karimi/react-native-android-sms-verification-api.git","type":"git"},"_npmVersion":"10.7.0","description":"A wrapper for the Android SMS Verification API. Includes both SMS Retriever for Zero-tap SMS verification and SMS User Consent for the One-tap SMS verification","directories":{},"_nodeVersion":"18.20.3","eslintConfig":{"root":true,"rules":{"prettier/prettier":["error",{"useTabs":false,"tabWidth":2,"quoteProps":"consistent","singleQuote":true,"trailingComma":"es5"}]},"extends":["@react-native-community","prettier"]},"eslintIgnore":["node_modules/","lib/","docs/"],"react-native":"src/index","publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.0.1","husky":"^4.2.5","react":"16.13.1","eslint":"^7.2.0","typedoc":"^0.20.24","prettier":"^2.0.5","commitlint":"^11.0.0","release-it":"^14.2.2","typescript":"^4.1.3","@types/jest":"^26.0.0","pod-install":"^0.1.0","@types/react":"^16.9.19","react-native":"0.63.4","@types/react-native":"0.62.13","eslint-config-prettier":"^7.0.0","eslint-plugin-prettier":"^3.1.3","react-native-builder-bob":"^0.17.1","@commitlint/config-conventional":"^11.0.0","@release-it/conventional-changelog":"^2.0.0","@react-native-community/eslint-config":"^2.0.0"},"peerDependencies":{"react":"*","react-native":"*"},"_npmOperationalInternal":{"tmp":"tmp/react-native-android-sms-verification-api_1.1.6_1721158717013_0.5072198229264777","host":"s3://npm-registry-packages"}},"1.1.7":{"name":"@amir-hossein-karimi/react-native-android-sms-verification-api","version":"1.1.7","keywords":["react-native","ios","android","sms","sms verification","sms retriver","sms user consent"],"author":{"url":"https://github.com/amir-hossein-karimi","name":"amir","email":"a.hosseinkarimi82@gmail.com"},"license":"MIT","_id":"@amir-hossein-karimi/react-native-android-sms-verification-api@1.1.7","maintainers":[{"name":"amir-hossein-karimi","email":"a.hosseinkarimi82@gmail.com"}],"homepage":"https://github.com/amir-hossein-karimi/react-native-android-sms-verification-api#readme","bugs":{"url":"https://github.com/amir-hossein-karimi/react-native-android-sms-verification-api/issues"},"dist":{"shasum":"a1b76ee663927a85df75b7fec8dcca7d8f943b10","tarball":"https://registry.npmjs.org/@amir-hossein-karimi/react-native-android-sms-verification-api/-/react-native-android-sms-verification-api-1.1.7.tgz","fileCount":20,"integrity":"sha512-P1hVYsXdQpH7UCHqXJ10TQ6KbBdkz5nzO6zv1ELugDQ1noGP6uBbHjsqAMb3WFm+3+E3OB1Cw5Q+XRrMSDIHZA==","signatures":[{"sig":"MEYCIQD10XmBZYy53CnQqOnrC0GQPow+u8RTm08aNNpYybugGQIhAPem05kC3tqudkp4H1yTOOqPDrOJMdcUQjw/xo66wfcL","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":101978},"jest":{"preset":"react-native","modulePathIgnorePatterns":["<rootDir>/example/node_modules","<rootDir>/lib/"]},"main":"lib/commonjs/index","husky":{"hooks":{"pre-commit":"yarn lint && yarn typescript"}},"types":"lib/typescript/index.d.ts","module":"lib/module/index","source":"src/index","gitHead":"c4cf53f9f8c8b9e17db7210c0a96404f78d38c83","scripts":{"docs":"typedoc src/index.tsx --theme minimal","lint":"eslint \"**/*.{js,ts,tsx}\"","pods":"cd example && pod-install --quiet","test":"jest","example":"yarn --cwd example","release":"release-it","bootstrap":"yarn example && yarn && yarn pods","typescript":"tsc --noEmit"},"_npmUser":{"name":"amir-hossein-karimi","email":"a.hosseinkarimi82@gmail.com"},"prettier":{"useTabs":false,"tabWidth":2,"quoteProps":"consistent","singleQuote":true,"trailingComma":"es5"},"commitlint":{"extends":["@commitlint/config-conventional"]},"release-it":{"git":{"tagName":"v${version}","commitMessage":"chore: release ${version}"},"npm":{"publish":true},"github":{"release":true},"plugins":{"@release-it/conventional-changelog":{"preset":"angular"}}},"repository":{"url":"git+https://github.com/amir-hossein-karimi/react-native-android-sms-verification-api.git","type":"git"},"_npmVersion":"10.7.0","description":"A wrapper for the Android SMS Verification API. Includes both SMS Retriever for Zero-tap SMS verification and SMS User Consent for the One-tap SMS verification","directories":{},"_nodeVersion":"18.20.3","eslintConfig":{"root":true,"rules":{"prettier/prettier":["error",{"useTabs":false,"tabWidth":2,"quoteProps":"consistent","singleQuote":true,"trailingComma":"es5"}]},"extends":["@react-native-community","prettier"]},"eslintIgnore":["node_modules/","lib/","docs/"],"react-native":"src/index","publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.0.1","husky":"^4.2.5","react":"16.13.1","eslint":"^7.2.0","typedoc":"^0.20.24","prettier":"^2.0.5","commitlint":"^11.0.0","release-it":"^14.2.2","typescript":"^4.1.3","@types/jest":"^26.0.0","pod-install":"^0.1.0","@types/react":"^16.9.19","react-native":"0.63.4","@types/react-native":"0.62.13","eslint-config-prettier":"^7.0.0","eslint-plugin-prettier":"^3.1.3","react-native-builder-bob":"^0.17.1","@commitlint/config-conventional":"^11.0.0","@release-it/conventional-changelog":"^2.0.0","@react-native-community/eslint-config":"^2.0.0"},"peerDependencies":{"react":"*","react-native":"*"},"_npmOperationalInternal":{"tmp":"tmp/react-native-android-sms-verification-api_1.1.7_1721160708187_0.9331656473492023","host":"s3://npm-registry-packages"}},"1.1.8":{"name":"@amir-hossein-karimi/react-native-android-sms-verification-api","version":"1.1.8","keywords":["react-native","ios","android","sms","sms verification","sms retriver","sms user consent"],"author":{"url":"https://github.com/amir-hossein-karimi","name":"amir","email":"a.hosseinkarimi82@gmail.com"},"license":"MIT","_id":"@amir-hossein-karimi/react-native-android-sms-verification-api@1.1.8","maintainers":[{"name":"amir-hossein-karimi","email":"a.hosseinkarimi82@gmail.com"}],"homepage":"https://github.com/amir-hossein-karimi/react-native-android-sms-verification-api#readme","bugs":{"url":"https://github.com/amir-hossein-karimi/react-native-android-sms-verification-api/issues"},"dist":{"shasum":"7a6adb5b5ed4945eccedf49ada0cca8aab8d167b","tarball":"https://registry.npmjs.org/@amir-hossein-karimi/react-native-android-sms-verification-api/-/react-native-android-sms-verification-api-1.1.8.tgz","fileCount":20,"integrity":"sha512-hZ3NpGoLKNkl/1P+AeyPZ3L1RWfBxNrSpYt8z/wTXxytQUWFqKNV8gwk7Gc6K1GdPZIrdoMfChEB2FyN+xs+sw==","signatures":[{"sig":"MEMCIAgoG5NMaQbf8Rs0iAhC8H+7wH07XelIFSMbIoz3TV/2Ah8aC9E4MPNahy8uR29Ydo19Xydyu07+e3/HP0Efqx8C","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":101978},"jest":{"preset":"react-native","modulePathIgnorePatterns":["<rootDir>/example/node_modules","<rootDir>/lib/"]},"main":"lib/commonjs/index","husky":{"hooks":{"pre-commit":"yarn lint && yarn typescript"}},"types":"lib/typescript/index.d.ts","module":"lib/module/index","source":"src/index","gitHead":"5c5a3591c870388fb0c4abe65e309a28d814c84b","scripts":{"docs":"typedoc src/index.tsx --theme minimal","lint":"eslint \"**/*.{js,ts,tsx}\"","pods":"cd example && pod-install --quiet","test":"jest","example":"yarn --cwd example","release":"release-it","bootstrap":"yarn example && yarn && yarn pods","typescript":"tsc --noEmit"},"_npmUser":{"name":"amir-hossein-karimi","email":"a.hosseinkarimi82@gmail.com"},"prettier":{"useTabs":false,"tabWidth":2,"quoteProps":"consistent","singleQuote":true,"trailingComma":"es5"},"commitlint":{"extends":["@commitlint/config-conventional"]},"release-it":{"git":{"tagName":"v${version}","commitMessage":"chore: release ${version}"},"npm":{"publish":true},"github":{"release":true},"plugins":{"@release-it/conventional-changelog":{"preset":"angular"}}},"repository":{"url":"git+https://github.com/amir-hossein-karimi/react-native-android-sms-verification-api.git","type":"git"},"_npmVersion":"10.7.0","description":"A wrapper for the Android SMS Verification API. Includes both SMS Retriever for Zero-tap SMS verification and SMS User Consent for the One-tap SMS verification","directories":{},"_nodeVersion":"18.20.3","eslintConfig":{"root":true,"rules":{"prettier/prettier":["error",{"useTabs":false,"tabWidth":2,"quoteProps":"consistent","singleQuote":true,"trailingComma":"es5"}]},"extends":["@react-native-community","prettier"]},"eslintIgnore":["node_modules/","lib/","docs/"],"react-native":"src/index","publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.0.1","husky":"^4.2.5","react":"16.13.1","eslint":"^7.2.0","typedoc":"^0.20.24","prettier":"^2.0.5","commitlint":"^11.0.0","release-it":"^14.2.2","typescript":"^4.1.3","@types/jest":"^26.0.0","pod-install":"^0.1.0","@types/react":"^16.9.19","react-native":"0.63.4","@types/react-native":"0.62.13","eslint-config-prettier":"^7.0.0","eslint-plugin-prettier":"^3.1.3","react-native-builder-bob":"^0.17.1","@commitlint/config-conventional":"^11.0.0","@release-it/conventional-changelog":"^2.0.0","@react-native-community/eslint-config":"^2.0.0"},"peerDependencies":{"react":"*","react-native":"*"},"_npmOperationalInternal":{"tmp":"tmp/react-native-android-sms-verification-api_1.1.8_1721162012239_0.19418724753229877","host":"s3://npm-registry-packages"}},"1.1.9":{"name":"@amir-hossein-karimi/react-native-android-sms-verification-api","version":"1.1.9","keywords":["react-native","ios","android","sms","sms verification","sms retriver","sms user consent"],"author":{"url":"https://github.com/amir-hossein-karimi","name":"amir","email":"a.hosseinkarimi82@gmail.com"},"license":"MIT","_id":"@amir-hossein-karimi/react-native-android-sms-verification-api@1.1.9","maintainers":[{"name":"amir-hossein-karimi","email":"a.hosseinkarimi82@gmail.com"}],"homepage":"https://github.com/amir-hossein-karimi/react-native-android-sms-verification-api#readme","bugs":{"url":"https://github.com/amir-hossein-karimi/react-native-android-sms-verification-api/issues"},"dist":{"shasum":"e3498f804e21205d632a4049275b064620614b71","tarball":"https://registry.npmjs.org/@amir-hossein-karimi/react-native-android-sms-verification-api/-/react-native-android-sms-verification-api-1.1.9.tgz","fileCount":20,"integrity":"sha512-dJioseoNcIQKcgg4SgeDgYsxe+Buax9CV0+JULK8t7LQmR3aj5UCoZOnacz96PQSTR+eqO1nlZx/tcnRndpy6g==","signatures":[{"sig":"MEQCIGsHcRtR8QUaeYWNIubwy0lWrTh5HXbvBCuTTbIjwWl0AiAUPhtf7E5x89AyHg3sPlMPUUJ4iECCTPdGCOqT1yH5oQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":101978},"jest":{"preset":"react-native","modulePathIgnorePatterns":["<rootDir>/example/node_modules","<rootDir>/lib/"]},"main":"lib/commonjs/index","husky":{"hooks":{"pre-commit":"yarn lint && yarn typescript"}},"types":"lib/typescript/index.d.ts","module":"lib/module/index","source":"src/index","gitHead":"c8bf5f4b5a99980dedbe36f2145a2a6f425af960","scripts":{"docs":"typedoc src/index.tsx --theme minimal","lint":"eslint \"**/*.{js,ts,tsx}\"","pods":"cd example && pod-install --quiet","test":"jest","example":"yarn --cwd example","release":"release-it","bootstrap":"yarn example && yarn && yarn pods","typescript":"tsc --noEmit"},"_npmUser":{"name":"amir-hossein-karimi","email":"a.hosseinkarimi82@gmail.com"},"prettier":{"useTabs":false,"tabWidth":2,"quoteProps":"consistent","singleQuote":true,"trailingComma":"es5"},"commitlint":{"extends":["@commitlint/config-conventional"]},"release-it":{"git":{"tagName":"v${version}","commitMessage":"chore: release ${version}"},"npm":{"publish":true},"github":{"release":true},"plugins":{"@release-it/conventional-changelog":{"preset":"angular"}}},"repository":{"url":"git+https://github.com/amir-hossein-karimi/react-native-android-sms-verification-api.git","type":"git"},"_npmVersion":"10.7.0","description":"A wrapper for the Android SMS Verification API. Includes both SMS Retriever for Zero-tap SMS verification and SMS User Consent for the One-tap SMS verification","directories":{},"_nodeVersion":"18.20.3","eslintConfig":{"root":true,"rules":{"prettier/prettier":["error",{"useTabs":false,"tabWidth":2,"quoteProps":"consistent","singleQuote":true,"trailingComma":"es5"}]},"extends":["@react-native-community","prettier"]},"eslintIgnore":["node_modules/","lib/","docs/"],"react-native":"src/index","publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.0.1","husky":"^4.2.5","react":"16.13.1","eslint":"^7.2.0","typedoc":"^0.20.24","prettier":"^2.0.5","commitlint":"^11.0.0","release-it":"^14.2.2","typescript":"^4.1.3","@types/jest":"^26.0.0","pod-install":"^0.1.0","@types/react":"^16.9.19","react-native":"0.63.4","@types/react-native":"0.62.13","eslint-config-prettier":"^7.0.0","eslint-plugin-prettier":"^3.1.3","react-native-builder-bob":"^0.17.1","@commitlint/config-conventional":"^11.0.0","@release-it/conventional-changelog":"^2.0.0","@react-native-community/eslint-config":"^2.0.0"},"peerDependencies":{"react":"*","react-native":"*"},"_npmOperationalInternal":{"tmp":"tmp/react-native-android-sms-verification-api_1.1.9_1721163116986_0.3497803372885304","host":"s3://npm-registry-packages"}},"1.1.10":{"name":"@amir-hossein-karimi/react-native-android-sms-verification-api","version":"1.1.10","keywords":["react-native","ios","android","sms","sms verification","sms retriver","sms user consent"],"author":{"url":"https://github.com/amir-hossein-karimi","name":"amir","email":"a.hosseinkarimi82@gmail.com"},"license":"MIT","_id":"@amir-hossein-karimi/react-native-android-sms-verification-api@1.1.10","maintainers":[{"name":"amir-hossein-karimi","email":"a.hosseinkarimi82@gmail.com"}],"homepage":"https://github.com/amir-hossein-karimi/react-native-android-sms-verification-api#readme","bugs":{"url":"https://github.com/amir-hossein-karimi/react-native-android-sms-verification-api/issues"},"dist":{"shasum":"91bdfc424c9a61fdeb98dd1dcfa7161975335f0d","tarball":"https://registry.npmjs.org/@amir-hossein-karimi/react-native-android-sms-verification-api/-/react-native-android-sms-verification-api-1.1.10.tgz","fileCount":20,"integrity":"sha512-FbgFTQO2OBEil0Se+kAfmILlRXdClYMkYjOOK3ebUYxd2RADOEqISxrM1e+nJMEJREEoRxO4jo7vds6awntX+Q==","signatures":[{"sig":"MEQCIDQzVhC/0R0DigsNONeJZlD75hPjfIcU4aCMQmiCrf5tAiBDHxMrUC/EZbGv9+HsPC6hzGDAnnQfpGJM3Poqi3ELgA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":101038},"jest":{"preset":"react-native","modulePathIgnorePatterns":["<rootDir>/example/node_modules","<rootDir>/lib/"]},"main":"lib/commonjs/index","types":"lib/typescript/index.d.ts","module":"lib/module/index","source":"src/index","gitHead":"e8d18b9471ace8e0ccdaf2e7517dd1b66aeb58c4","scripts":{"docs":"typedoc src/index.tsx --theme minimal","lint":"eslint \"**/*.{js,ts,tsx}\"","pods":"cd example && pod-install --quiet","test":"jest","example":"yarn --cwd example","release":"release-it","bootstrap":"yarn example && yarn && yarn pods","typescript":"tsc --noEmit"},"_npmUser":{"name":"amir-hossein-karimi","email":"a.hosseinkarimi82@gmail.com"},"prettier":{"useTabs":false,"tabWidth":2,"quoteProps":"consistent","singleQuote":true,"trailingComma":"es5"},"commitlint":{"extends":["@commitlint/config-conventional"]},"release-it":{"git":{"tagName":"v${version}","commitMessage":"chore: release ${version}"},"npm":{"publish":true},"github":{"release":true},"plugins":{"@release-it/conventional-changelog":{"preset":"angular"}}},"repository":{"url":"git+https://github.com/amir-hossein-karimi/react-native-android-sms-verification-api.git","type":"git"},"_npmVersion":"10.7.0","description":"A wrapper for the Android SMS Verification API. Includes both SMS Retriever for Zero-tap SMS verification and SMS User Consent for the One-tap SMS verification","directories":{},"_nodeVersion":"18.20.3","eslintConfig":{"root":true,"rules":{"prettier/prettier":["error",{"useTabs":false,"tabWidth":2,"quoteProps":"consistent","singleQuote":true,"trailingComma":"es5"}]},"extends":["@react-native-community","prettier"]},"eslintIgnore":["node_modules/","lib/","docs/"],"react-native":"src/index","publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.0.1","husky":"^4.2.5","react":"16.13.1","eslint":"^7.2.0","typedoc":"^0.20.24","prettier":"^2.0.5","commitlint":"^11.0.0","release-it":"^14.2.2","typescript":"^4.1.3","@types/jest":"^26.0.0","pod-install":"^0.1.0","@types/react":"^16.9.19","react-native":"0.63.4","@types/react-native":"0.62.13","eslint-config-prettier":"^7.0.0","eslint-plugin-prettier":"^3.1.3","react-native-builder-bob":"^0.17.1","@commitlint/config-conventional":"^11.0.0","@release-it/conventional-changelog":"^2.0.0","@react-native-community/eslint-config":"^2.0.0"},"peerDependencies":{"react":"*","react-native":"*"},"_npmOperationalInternal":{"tmp":"tmp/react-native-android-sms-verification-api_1.1.10_1721200004260_0.39620825025879514","host":"s3://npm-registry-packages"}},"1.1.11":{"name":"@amir-hossein-karimi/react-native-android-sms-verification-api","version":"1.1.11","description":"A wrapper for the Android SMS Verification API. Includes both SMS Retriever for Zero-tap SMS verification and SMS User Consent for the One-tap SMS verification","main":"lib/commonjs/index","module":"lib/module/index","types":"lib/typescript/index.d.ts","react-native":"src/index","source":"src/index","scripts":{"test":"jest","typescript":"tsc --noEmit","lint":"eslint \"**/*.{js,ts,tsx}\"","release":"release-it","example":"yarn --cwd example","pods":"cd example && pod-install --quiet","bootstrap":"yarn example && yarn && yarn pods","docs":"typedoc src/index.tsx --theme minimal"},"keywords":["react-native","ios","android","sms","sms verification","sms retriver","sms user consent"],"repository":{"type":"git","url":"git+https://github.com/amir-hossein-karimi/react-native-android-sms-verification-api.git"},"author":{"name":"amir","email":"a.hosseinkarimi82@gmail.com","url":"https://github.com/amir-hossein-karimi"},"license":"MIT","bugs":{"url":"https://github.com/amir-hossein-karimi/react-native-android-sms-verification-api/issues"},"homepage":"https://github.com/amir-hossein-karimi/react-native-android-sms-verification-api#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":"^4.2.5","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.17.1","release-it":"^14.2.2","typedoc":"^0.20.24","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/","docs/"],"prettier":{"quoteProps":"consistent","singleQuote":true,"tabWidth":2,"trailingComma":"es5","useTabs":false},"_id":"@amir-hossein-karimi/react-native-android-sms-verification-api@1.1.11","gitHead":"1a8f236882cf8ec7d8a1b11f3279a3d94c8c8d44","_nodeVersion":"18.20.3","_npmVersion":"10.7.0","dist":{"integrity":"sha512-bpLBe23p9R3GwuDEumtnodYST615+49AYBwdg1aBK8e6argnWlkDmOVq5qarLRLsyjN7NFfywRJGpSE9eRibWw==","shasum":"0eaec6a620772d8109b1182d5c903a21b48ff623","tarball":"https://registry.npmjs.org/@amir-hossein-karimi/react-native-android-sms-verification-api/-/react-native-android-sms-verification-api-1.1.11.tgz","fileCount":20,"unpackedSize":100546,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD+rhro0lhaQYmLdEoWDiaiIRxnjkYKphdu0Z99/0Gt5gIhAJ9oKzowhtAXUFtUT136B3pDBPmyALXwZ9hEr0+I9Ynp"}]},"_npmUser":{"name":"amir-hossein-karimi","email":"a.hosseinkarimi82@gmail.com"},"directories":{},"maintainers":[{"name":"amir-hossein-karimi","email":"a.hosseinkarimi82@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-android-sms-verification-api_1.1.11_1721232244073_0.20173658524817473"},"_hasShrinkwrap":false}},"time":{"created":"2024-07-16T18:26:32.689Z","modified":"2024-07-17T16:04:04.419Z","1.0.6":"2024-07-16T18:26:33.003Z","1.1.6":"2024-07-16T19:38:37.296Z","1.1.7":"2024-07-16T20:11:48.370Z","1.1.8":"2024-07-16T20:33:32.437Z","1.1.9":"2024-07-16T20:51:57.181Z","1.1.10":"2024-07-17T07:06:44.428Z","1.1.11":"2024-07-17T16:04:04.261Z"},"bugs":{"url":"https://github.com/amir-hossein-karimi/react-native-android-sms-verification-api/issues"},"author":{"name":"amir","email":"a.hosseinkarimi82@gmail.com","url":"https://github.com/amir-hossein-karimi"},"license":"MIT","homepage":"https://github.com/amir-hossein-karimi/react-native-android-sms-verification-api#readme","keywords":["react-native","ios","android","sms","sms verification","sms retriver","sms user consent"],"repository":{"type":"git","url":"git+https://github.com/amir-hossein-karimi/react-native-android-sms-verification-api.git"},"description":"A wrapper for the Android SMS Verification API. Includes both SMS Retriever for Zero-tap SMS verification and SMS User Consent for the One-tap SMS verification","maintainers":[{"name":"amir-hossein-karimi","email":"a.hosseinkarimi82@gmail.com"}],"readme":"# react-native-android-sms-verification-api\n\nA wrapper for the Android SMS Verification API. Includes both [SMS Retriever](https://developers.google.com/identity/sms-retriever/overview) for Zero-tap SMS verification and [SMS User Consent](https://developers.google.com/identity/sms-retriever/user-consent/overview) for the One-tap SMS verification\n\n![Preview](https://user-images.githubusercontent.com/9453250/107610908-ccdc3100-6c53-11eb-90b8-2cd2148f9a25.png)\n\n## Installation\n\n```sh\nyarn add react-native-android-sms-verification-api\n```\n\n## Usage\n\n### Requesting the user's phone number\n\n```js\nimport { requestPhoneNumber } from 'react-native-android-sms-verification-api';\n\ntry {\n  // presents a modal enabling the user to select their phone number. Requires a physical device, it won't work on an emulator\n  const phoneNumber = await requestPhoneNumber();\n} catch (error) {\n  console.log(`${e.code} : ${e.message}`);\n}\n```\n\n### Using the User Consent API\n\n```js\nimport {\n  receiveVerificationSMS,\n  startSmsUserConsent,\n  requestPhoneNumber,\n  removeAllListeners,\n} from 'react-native-android-sms-verification-api';\n\n// 1. Define a callback that'll receive the message or any errors that occurs\nreceiveVerificationSMS((error, message) => {\n  if (error) {\n    // handle error\n  } else {\n    // parse the message to obtain the verification code\n  }\n});\n\n// 2. Get the user's phone number\nconst phoneNumber = await requestPhoneNumber();\n\n// 3. Set's up listeners for the incoming message. !Do this before sending the sms!\nawait startSmsUserConsent();\n\n// 4. Your custom logic for sending a verification code\nawait sendVerificationCode(phoneNumber);\n\n// 5. Make sure to remove the listeners after you've successfully retrieved the verification code\nremoveAllListeners();\n```\n\n### Using the SMS Retriever API\n\nThe SMS Retriever API requires you to include a 11-character hash string that identifies your app within the SMS body. See message requirements [here](https://developers.google.com/identity/sms-retriever/verify#1_construct_a_verification_message)\n\nYou can retrive the hash by following these [steps.](https://developers.google.com/identity/sms-retriever/verify#computing_your_apps_hash_string) Or by using the `getAppSignatures` function that's available within the library.\n\nThe `getAppSignatures` function uses the `AppSignatureHelper` [java class](https://github.com/googlearchive/android-credentials/blob/master/sms-verification/android/app/src/main/java/com/google/samples/smartlock/sms_verify/AppSignatureHelper.java) and **is not suposed to be included in your application.** For this reason the `getAppSignatures` function is only available on a separate branch of the library.\n\nTo get started\n\n1. Include the library version with the signature helper\n\n   `yarn add https://github.com/jgkiano/react-native-android-sms-verification-api.git#with-signature-helper`\n\n2. Change the minSdkVersion of your app to 19 but modifying the `android/build.gradle` file\n\n```gradle\next {\n  minSdkVersion = 19\n  ..//\n}\n```\n\n3. Retrive your app's signature\n\n```js\nimport { getAppSignatures } from 'react-native-android-sms-verification-api';\n\nconst [signature] = await getAppSignatures();\nconsole.log(signature); // e.g FA+9qCX9VSu\n```\n\n4. Once you retrive your app's signature, include it in the SMS your server sends to your users e.g\n\n```\nYour verification code is: 123ABC78\n\n\nFA+9qCX9VSu\n```\n\n5. Finally remove this version of the library in your project and include the offical release\n\n`yarn remove react-native-android-sms-verification-api && yarn add react-native-android-sms-verification-api`\n\n#### Usage\n\n```js\nimport {\n  requestPhoneNumber,\n  startSmsRetriever,\n  receiveVerificationSMS,\n} from 'react-native-android-sms-verification-api';\n\n// 1. Define a callback that'll receive the message or any errors that occurs\nreceiveVerificationSMS((error, message) => {\n  if (error) {\n    // handle error\n  } else {\n    // parse the message to obtain the verification code\n  }\n});\n\n// 2. Get the user's phone number\nconst phoneNumber = await requestPhoneNumber();\n\n// 3. Set's up listeners for the incoming message. !Do this before sending the sms!\nawait startSmsRetriever();\n\n// 4. Your custom logic for sending a verification code\nawait sendVerificationCode(phoneNumber);\n\n// 5. Make sure to remove the listeners after you've successfully retrieved the verification code\nremoveAllListeners();\n```\n\n## Contributing\n\nSee the [contributing guide](CONTRIBUTING.md) to learn how to contribute to the repository and the development workflow.\n\n## Documentation\n\n- [API Reference](https://jgkiano.github.io/react-native-android-sms-verification-api/)\n\n## License\n\nMIT\n","readmeFilename":"README.md"}