{"_id":"react-native-appearance","_rev":"25-f510c16c9587a450bb8e01da1692f6fc","name":"react-native-appearance","dist-tags":{"latest":"0.3.4","next":"0.3.0-rc.3"},"versions":{"0.0.0":{"name":"react-native-appearance","version":"0.0.0","description":"","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":"","license":"ISC","_id":"react-native-appearance@0.0.0","_nodeVersion":"12.3.1","_npmVersion":"6.9.0","dist":{"integrity":"sha512-u5cCYEpNTUGUu0L+hiOYZze5JA90ZH07LQxZ9xt/5CQzFMadHE0wdi1tpXN4PsxBZHMZdjltN9cJVkYe2Z+y4w==","shasum":"bf1ec75ea2b3b8c57c2b2cbc8960640951ab71ca","tarball":"https://registry.npmjs.org/react-native-appearance/-/react-native-appearance-0.0.0.tgz","fileCount":2,"unpackedSize":219,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdXI0YCRA9TVsSAnZWagAAPEcP/RJ1qBzZZUoX1Sl6Z5d1\nyZIxGsA83nvCbbAdSm0d2FFz3wpaYdLWq6VrU8i6xu10IVyoTfgm2nA6dxyA\nBMOYnHje5/U5DRC6UeNc/OmjdFtSRkaJAvqVSJsUs2WGxNN62vFRnQcQehQY\n5Qikfnm7ldtmil48I6g9sKzAebOTy7R+5J9/fBPXdxvSypYyFT7K3TV8Kcsb\nnffw80nai2xgpFwpQHJ3edN2IveBw7jnwaNWZPP5Z+TSzJXiesg2uxzUz4B1\naKeZy5kUC9vfd7QFDIm6wb+2mxG0IbesPrhLZ8xY9qxelIBwVRvjINnbWSUZ\nV11U2ogZwBN3wBgHPvUQ+CYh6tfSWQcLw1GfG6ivmrGbOmBvzzrPA9+Sj9Ap\n8hPR/pTVypBC7N73+5OfTnN2qwZoscFdvxfyil7FEasfGWpgMExwHrumaVqD\njFjdl3AcZGbsOzfgnBNvBW+irC8nOGZOFfLt2mBlFjFgqXKuOVNvy35b0CpL\nU8BdZCYnRFA/d3BdpImw01E6v8CR7grih6136lMOP7B3TEYIiTLUpHxkBvn4\nELkntKULRUlMP2dduxrUDzzs8Oz3xGIvAWLi0q3FIfu6qmPPO/57AwPgrTbS\nrLQ1jBfypX9Pendj+5LTppmxL9WY+YnObZMZ8eydu6MjYZdmeO0KXLAZo+6s\ns1/l\r\n=EmaA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGTc6z3DtqsWUunuteNCWgh8VU33fHEZwKZZzHKZ78fiAiB0YaB+rQcpAEuVt/LwFS6bxYv7ClFA2YJhFjMGLoqltw=="}]},"maintainers":[{"name":"brentvatne","email":"brentvatne@gmail.com"}],"_npmUser":{"name":"brentvatne","email":"brentvatne@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-appearance_0.0.0_1566346519637_0.010905771094468664"},"_hasShrinkwrap":false},"0.0.1":{"name":"react-native-appearance","version":"0.0.1","description":"Polyfill for `Appearance` API which will likely be available in `react-native@>=0.61`. iOS only.","main":"src/index","module":"src/index","sideEffects":false,"author":{"name":"Brent Vatne","email":"brent@expo.io"},"homepage":"https://github.com/expo/react-native-appearance#readme","license":"MIT","scripts":{"start":"react-native start","start:web":"expo start --web --config example/app.json","test":"yarn validate:prettier && yarn validate:eslint && yarn validate:typescript","validate:eslint":"eslint \"src/**/*.{js,ts,tsx}\" \"example/**/*.{js,ts,tsx}\"","validate:typescript":"tsc --project ./ --noEmit","validate:prettier":"prettier \"src/**/*.{js,ts,tsx}\" \"example/**/*.{js,ts,tsx}\" --check"},"keywords":["react-native","react native","react-native-web","expo-web","appearance"],"peerDependencies":{"react-native":">=0.59"},"dependencies":{"fbemitter":"^2.1.1","invariant":"^2.2.4","use-subscription":"^1.0.0"},"devDependencies":{"@react-native-community/eslint-config":"^0.0.5","@types/react-native":"^0.60.5","@typescript-eslint/eslint-plugin":"^1.7.0","@typescript-eslint/parser":"^1.7.0","@babel/core":"^7.0.0","eslint":"5.16.0","eslint-config-prettier":"^4.2.0","eslint-plugin-prettier":"3.0.1","expo":"^34.0.4","metro-react-native-babel-preset":"^0.55.0","prettier":"^1.18.2","react":"16.8.6","react-dom":"16.8.6","react-native":"~0.60.3","react-native-web":"^0.11.7","typescript":"^3.5.3"},"repository":{"type":"git","url":"git+https://github.com/expo/react-native-appearance.git"},"gitHead":"59571e33df0c524c49feb4ccb4566f26f39585a1","bugs":{"url":"https://github.com/expo/react-native-appearance/issues"},"_id":"react-native-appearance@0.0.1","_nodeVersion":"12.3.1","_npmVersion":"6.9.0","dist":{"integrity":"sha512-nSWIRo/O6/Rw7RkwgBgtoZ1+vOfzKQNScSzPAV02FRs6sZEXMluCcZEPft9aiZjTeNktF46Ghrngcf6TSoYBdg==","shasum":"2700daac0c81f2d3d09e5d8a26269f4b3af4735d","tarball":"https://registry.npmjs.org/react-native-appearance/-/react-native-appearance-0.0.1.tgz","fileCount":23,"unpackedSize":48566,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdXzQiCRA9TVsSAnZWagAA068P+QGlFD3GXC14788cD/Gx\nSInvEPo4QCKLGyJkTlqtpdOgLjlFBlA0oHwQNHNMl42oC/UPm2kJJqI667Dw\nUintdPBgr8AfXolVfrFe9ULWqMtjktSHKEIP/0Vwso/HyC78KN+5hC7tEs1N\nzuQQd/VeRICu8+QNFSNcBJsIruuZDoDm1L8UKD1xxJWKD1Q5UPqKiSfpCxvG\n6z/g8MqAiScEcar94UXWCcaT781ZbP5ApaoNdTMLS7I04JGoLFDGbWo8bETk\nXAJDx5fBY+8XORjOOpwIzm0ELWm3F9DiZ72qBOpbgi8MchvAY9BSjPlRB3f6\n8p6oK546qiLJktg5gzUypYI0OjrKk6RrJj2JWYxFtx5nhZ/ht/qL5aC+Qrne\nttVHEqoQ9JQAYar564Il/zQUYlahHsrhcmG8a1c1A8clG9N+5WM66RR3kjiZ\nDby5zUBqFf/IkwMTkv8Kk0nu6LibC/NdJ/LKfNoTlMdZlvqRfZSuQMHkP+st\n5mjE2y6Ghu5k8MeVfDeIiTUuWPGkfI0o3KnXb20RveK8eUn9hWKW4rJN9hY/\nsqFJn5Xil+UrCN9OHd8FZbJeWEd7hk80oJ/ctv6W5SDHMoWdjPr0/p7i9jCJ\nebwXhsoqypUQrYz50CsVhxtQvk861jXG4ZmlVNv7kKg5wmDpYfaP+gXs1aV1\nriqz\r\n=aam+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD8g5mpG/wloVyK5V6gwK9io0Pg6xzS2x1OqdW942cP3QIgFccjWI2j7bPpXQr1H9nR76hb0IyjRHWk2RLP/1sY7CU="}]},"maintainers":[{"name":"brentvatne","email":"brentvatne@gmail.com"}],"_npmUser":{"name":"brentvatne","email":"brentvatne@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-appearance_0.0.1_1566520353615_0.04756947755838414"},"_hasShrinkwrap":false},"0.0.2":{"name":"react-native-appearance","version":"0.0.2","description":"Polyfill for `Appearance` API which will likely be available in `react-native@>=0.61`. iOS only.","main":"src/index","module":"src/index","sideEffects":false,"author":{"name":"Brent Vatne","email":"brent@expo.io"},"homepage":"https://github.com/expo/react-native-appearance#readme","license":"MIT","scripts":{"start":"react-native start","start:web":"expo start --web --config example/app.json","test":"yarn validate:prettier && yarn validate:eslint && yarn validate:typescript","validate:eslint":"eslint \"src/**/*.{js,ts,tsx}\" \"example/**/*.{js,ts,tsx}\"","validate:typescript":"tsc --project ./ --noEmit","validate:prettier":"prettier \"src/**/*.{js,ts,tsx}\" \"example/**/*.{js,ts,tsx}\" --check"},"keywords":["react-native","react native","react-native-web","expo-web","appearance"],"peerDependencies":{"react-native":">=0.59"},"dependencies":{"fbemitter":"^2.1.1","invariant":"^2.2.4","use-subscription":"^1.0.0"},"devDependencies":{"@react-native-community/eslint-config":"^0.0.5","@types/react-native":"^0.60.5","@typescript-eslint/eslint-plugin":"^1.7.0","@typescript-eslint/parser":"^1.7.0","@babel/core":"^7.0.0","eslint":"5.16.0","eslint-config-prettier":"^4.2.0","eslint-plugin-prettier":"3.0.1","expo":"^34.0.4","metro-react-native-babel-preset":"^0.55.0","prettier":"^1.18.2","react":"16.8.6","react-dom":"16.8.6","react-native":"~0.60.3","react-native-web":"^0.11.7","typescript":"^3.5.3"},"repository":{"type":"git","url":"git+https://github.com/expo/react-native-appearance.git"},"gitHead":"f14726ae69c0f8a14a99ccf9d8970d6d69f576c7","bugs":{"url":"https://github.com/expo/react-native-appearance/issues"},"_id":"react-native-appearance@0.0.2","_nodeVersion":"12.3.1","_npmVersion":"6.9.0","dist":{"integrity":"sha512-17tUpX/lJjIDSVn0OconyGHeJGaU17L2uSMgmW5/F2D0MFcpFjigBSood8fBAi3VgLO7eImARtx1UJHo5EB42w==","shasum":"a555763a889435311fa84512a24e8791bb4f9673","tarball":"https://registry.npmjs.org/react-native-appearance/-/react-native-appearance-0.0.2.tgz","fileCount":23,"unpackedSize":48648,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdXzSaCRA9TVsSAnZWagAAdWoP/2D0r1ccYSeZ2OqwxHlu\ngAooMimoiiYkphNNS3GEKZ//+pc9I36S/1HKf239bNnJ/p5gXM4M9HJeXbgT\n9AMX5J/xnigJpi1hMomaxkzdQJ5Lo/FKQGsKlFfXwEUda7x/4eGtQsdQMuUL\nXJIAqJhX/vmT9FZBnYNaOFxAemjeE9Zfrf8PVSWVnP9xKn/iuQHlKqGuqCgP\nGsSHjwiV3kkSNrg+3KPFhvrhJq1t2HXIauB7kFMq6QMzFlWlbDb4SCaVD7lt\nQqkCRHJaRdep6KZYFu4NqjclSbFTdcLwoH5j3ln6tQbPRch4koFVuXYgzCND\nnsYH1lDAiIo9tBTnD+KXyKGozI4wh99I8LFdOya+N9JD6J4BK3E02tN0uKo1\nUCI2yg7xd37A7oR5ZZ5/0xOwBGUw7ejebHPLdhTXLH+qaoru2cY7rmg3oCn9\nHWYtg25n8O7llSj7DGHve5RshXnPZ21qLwMKYPGqEV4pamEjtY6ttMTtohBN\nkuIBaWgYZk46WLUPHueXbX5mSXSK/0gaHLWBi+zJilty+XkLaiR60eeeCd6g\ndGduvCvoMM51k/KlzhiaK3AgPOy530MERvnWfPfX8zUtSadyfSTH+WimlcBJ\niA7iWNfTaKxiDS2GXcd4XfINaSkOKtVzvr1aYqRR89jpcDdF/jwk5bUC64Fz\nFEyG\r\n=HuG9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF0bWF2aIURbEY6quIzZdXST+OXUv+4kOJPdJcH6jtNCAiAYFthYHEraar/7jVu+ixg7e7cbrO253j0bJR7p4fG1cw=="}]},"maintainers":[{"name":"brentvatne","email":"brentvatne@gmail.com"}],"_npmUser":{"name":"brentvatne","email":"brentvatne@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-appearance_0.0.2_1566520473650_0.8220699393913371"},"_hasShrinkwrap":false},"0.0.3":{"name":"react-native-appearance","version":"0.0.3","description":"Polyfill for `Appearance` API which will likely be available in `react-native@>=0.61`. iOS only.","main":"src/index","module":"src/index","sideEffects":false,"author":{"name":"Brent Vatne","email":"brent@expo.io"},"homepage":"https://github.com/expo/react-native-appearance#readme","license":"MIT","scripts":{"start":"react-native start","start:web":"expo start --web --config example/app.json","test":"yarn validate:prettier && yarn validate:eslint && yarn validate:typescript","validate:eslint":"eslint \"src/**/*.{js,ts,tsx}\" \"example/**/*.{js,ts,tsx}\"","validate:typescript":"tsc --project ./ --noEmit","validate:prettier":"prettier \"src/**/*.{js,ts,tsx}\" \"example/**/*.{js,ts,tsx}\" --check"},"keywords":["react-native","react native","react-native-web","expo-web","appearance"],"peerDependencies":{"react-native":">=0.59"},"dependencies":{"fbemitter":"^2.1.1","invariant":"^2.2.4","use-subscription":"^1.0.0"},"devDependencies":{"@react-native-community/eslint-config":"^0.0.5","@types/react-native":"^0.60.5","@typescript-eslint/eslint-plugin":"^1.7.0","@typescript-eslint/parser":"^1.7.0","@babel/core":"^7.0.0","eslint":"5.16.0","eslint-config-prettier":"^4.2.0","eslint-plugin-prettier":"3.0.1","expo":"^34.0.4","metro-react-native-babel-preset":"^0.55.0","prettier":"^1.18.2","react":"16.8.6","react-dom":"16.8.6","react-native":"~0.60.3","react-native-web":"^0.11.7","typescript":"^3.5.3"},"repository":{"type":"git","url":"git+https://github.com/expo/react-native-appearance.git"},"gitHead":"f14726ae69c0f8a14a99ccf9d8970d6d69f576c7","bugs":{"url":"https://github.com/expo/react-native-appearance/issues"},"_id":"react-native-appearance@0.0.3","_nodeVersion":"12.3.1","_npmVersion":"6.9.0","dist":{"integrity":"sha512-p2s+DKvNoA5QdKtymgeNcWjGmmts8i8L/xIXY8mHNM9hwvoi9x8wfqWfFCMg2kLjGVQlY6+WusvmHdAK66pPNw==","shasum":"9461c0bd7c421a8afb3554db28c9c836a261246d","tarball":"https://registry.npmjs.org/react-native-appearance/-/react-native-appearance-0.0.3.tgz","fileCount":23,"unpackedSize":48772,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdXzwZCRA9TVsSAnZWagAA+GwQAI5NHkjZQqUV3bf86UvA\n8Ju/3XytTWSA8bi/daoLWuP/prMNxUGHThUHvsYd98+SVfJthYRht+1qbLBx\nZwSNSC8/jFyYzkOuLtC+tf/lDrnjp13QdpfPRct2mj3E+rVhH0PF1Zg+7dQD\noV1i6iVgtRLx5AyTbnoaklxeR/IDNFc914jEA7xf+ubDnd1kY+QaxqRywfXk\nuosd/lBNV672Bri+VFgnXhS7DKLICfi/S5VechP9fjHBjUMbgS15ycND4M2R\nEDW+8+F7t5scxuwIGRVeWKJxz4yPd7Br/CpS1z/gBPP0/N0udvU11YdkFqL5\nHRdi+4YW/V13Bheeu37QJi+weft8OpdMdm3Zf3vnwzgrLHYwOiiSKqG0xWfv\nzGlaLSwZbJMjsW/hQ2fj7upNEgDvXDeDUzaJOyfaaNPvCU9aw/jFWkZyxQ9R\ne3eSSV4qw8g0LlN1b+aQfjD55hsv3ezZlsEJgW+q9LKIUTs57Cl7kk7tZF6j\nShj5igJlBbsBw9SWa+E7XQG87bKv38clCzXSxN/Jfb+ubIFiae2DKWlpV2Ha\n2CBj8RJJAWKLIcA0Aq/6HXSSZ38AfEIpLCViyeADf24Yr8GYAkwUIIPtJ91S\nc7iGkBcOYZo/NN9l1b21kTV86FVxNDv0E1lNseIqiSiuhh4QljsXruADxGP6\nQl3e\r\n=MPxO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBUo9yFnRwKMuuThsxZ1W82BElUyS2NktzUzhvugexYwAiAP111CCbR4UfngN5St3UOWCKqmkkLOOin1j9vHLm7b3g=="}]},"maintainers":[{"name":"brentvatne","email":"brentvatne@gmail.com"}],"_npmUser":{"name":"brentvatne","email":"brentvatne@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-appearance_0.0.3_1566522392507_0.6954735940600085"},"_hasShrinkwrap":false},"0.0.4":{"name":"react-native-appearance","version":"0.0.4","description":"Polyfill for `Appearance` API which will likely be available in `react-native@>=0.61`. iOS only.","main":"src/index","module":"src/index","sideEffects":false,"author":{"name":"Brent Vatne","email":"brent@expo.io"},"homepage":"https://github.com/expo/react-native-appearance#readme","license":"MIT","scripts":{"start":"react-native start","start:web":"expo start --web --config example/app.json","test":"yarn validate:prettier && yarn validate:eslint && yarn validate:typescript","validate:eslint":"eslint \"src/**/*.{js,ts,tsx}\" \"example/**/*.{js,ts,tsx}\"","validate:typescript":"tsc --project ./ --noEmit","validate:prettier":"prettier \"src/**/*.{js,ts,tsx}\" \"example/**/*.{js,ts,tsx}\" --check"},"keywords":["react-native","react native","react-native-web","expo-web","appearance"],"peerDependencies":{"react-native":">=0.59"},"dependencies":{"fbemitter":"^2.1.1","invariant":"^2.2.4","use-subscription":"^1.0.0"},"devDependencies":{"@react-native-community/eslint-config":"^0.0.5","@types/react-native":"^0.60.5","@typescript-eslint/eslint-plugin":"^1.7.0","@typescript-eslint/parser":"^1.7.0","@babel/core":"^7.0.0","eslint":"5.16.0","eslint-config-prettier":"^4.2.0","eslint-plugin-prettier":"3.0.1","expo":"^34.0.4","metro-react-native-babel-preset":"^0.55.0","prettier":"^1.18.2","react":"16.8.6","react-dom":"16.8.6","react-native":"~0.60.3","react-native-web":"^0.11.7","typescript":"^3.5.3"},"repository":{"type":"git","url":"git+https://github.com/expo/react-native-appearance.git"},"gitHead":"f14726ae69c0f8a14a99ccf9d8970d6d69f576c7","bugs":{"url":"https://github.com/expo/react-native-appearance/issues"},"_id":"react-native-appearance@0.0.4","_nodeVersion":"12.3.1","_npmVersion":"6.9.0","dist":{"integrity":"sha512-L2ec4ac545Qrkw3n6FBw+ktcY4MnWTwv9vVNW8K6QuMTSCWSKShBgtkt9YPtjWGDB14taXv8/mj1S7ZnRoWT4A==","shasum":"b1fc0be3814b0c262d3ffb3ca239b06e4278ab87","tarball":"https://registry.npmjs.org/react-native-appearance/-/react-native-appearance-0.0.4.tgz","fileCount":23,"unpackedSize":49393,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdYCy/CRA9TVsSAnZWagAADFgP/3hTl5hyxac8FyQzaRIq\nbDMlMSyykg+mtsMK34xsfsxZICxx2NOQ8Jui5MH92atAs3bCeTprjYTNjK0X\n7GsGyFezYC8uOpYgXZQpnYeLYCP8tUYfN4MqZOCNl8ZTtz1o/dmIF3q7h7J+\nSrmDkpTyp2FoyxpuwkaGxag0oid3Gnd2K8xvcnQ0qboCB4oVos4Vx4pjwIc0\nHvIpHwTO83Ou4ZgaEOLZC73Vxi55XRgbEJuYNgjc/4HFnWFo/zbJgEubVU+T\nmKIUBOrACf2KgmfgLrhIdIzYHvuAzSf8FPu4c2kfDV046iaNcKodP5pN5a30\nmQ41PiWJLeDKGp4pa3OVfLtb6GCwh+strAS0HREjKuYBKgYcwwUk10iP2lJN\n1acHwb4zPrJvSpIAsvY7P8WCs2S1mNUGki08VCkMMTQeKdIjJvwB8bWjpvhX\nYHk+OqRZ38OZ/sNX9Y4wKmE5uWPkcdj3IcaPCg+B9djMGY/qMRc4NkQPDMaz\ntN+qyA74zgGWMnSc3DyXMtpMc3YypY+lmm+9JyEEkE3qT1b8Fpj6uLITVYG6\njKtRH7RIyXyaabKNRCa/J7nmI0gIxUfLhWleCycN1eTP9vzoRmsfkZ/O09dC\n46CUGCN33gIgGsY7449ZsCYmu7IOSWS+Q5SyDX0FJZ01ZbzhMxUoaHsx0zVo\nBR57\r\n=VbZ5\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCY0b8Aq3u4+1IncRgN6TCDDumKVoEO36Rl7ixAPo9e7wIhAOsEetdqgWbI8GYtG+SmVTWXVVmOYROje7/J4g5lDvN3"}]},"maintainers":[{"name":"brentvatne","email":"brentvatne@gmail.com"}],"_npmUser":{"name":"brentvatne","email":"brentvatne@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-appearance_0.0.4_1566583999040_0.8884472865114685"},"_hasShrinkwrap":false},"0.0.5":{"name":"react-native-appearance","version":"0.0.5","description":"Polyfill for `Appearance` API which will likely be available in `react-native@>=0.61`. iOS only.","main":"src/index","module":"src/index","sideEffects":false,"author":{"name":"Brent Vatne","email":"brent@expo.io"},"homepage":"https://github.com/expo/react-native-appearance#readme","license":"MIT","scripts":{"start":"react-native start","start:web":"expo start --web --config example/app.json","test":"yarn validate:prettier && yarn validate:eslint && yarn validate:typescript","validate:eslint":"eslint \"src/**/*.{js,ts,tsx}\" \"example/**/*.{js,ts,tsx}\"","validate:typescript":"tsc --project ./ --noEmit","validate:prettier":"prettier \"src/**/*.{js,ts,tsx}\" \"example/**/*.{js,ts,tsx}\" --check"},"keywords":["react-native","react native","react-native-web","expo-web","appearance"],"peerDependencies":{"react-native":">=0.59"},"dependencies":{"fbemitter":"^2.1.1","invariant":"^2.2.4","use-subscription":"^1.0.0"},"devDependencies":{"@react-native-community/eslint-config":"^0.0.5","@types/react-native":"^0.60.5","@typescript-eslint/eslint-plugin":"^1.7.0","@typescript-eslint/parser":"^1.7.0","@babel/core":"^7.0.0","eslint":"5.16.0","eslint-config-prettier":"^4.2.0","eslint-plugin-prettier":"3.0.1","expo":"^34.0.4","metro-react-native-babel-preset":"^0.55.0","prettier":"^1.18.2","react":"16.8.6","react-dom":"16.8.6","react-native":"~0.60.3","react-native-web":"^0.11.7","typescript":"^3.5.3"},"repository":{"type":"git","url":"git+https://github.com/expo/react-native-appearance.git"},"gitHead":"71c78829d30d04be34873fc27c8be9219066e5d0","bugs":{"url":"https://github.com/expo/react-native-appearance/issues"},"_id":"react-native-appearance@0.0.5","_nodeVersion":"12.3.1","_npmVersion":"6.9.0","dist":{"integrity":"sha512-GFJtNt6lBrGUNY3GlO/OCSNByJDr+6bDP/r766jkZo8HT4qp7Wc+0MDyc65pSEhdCqBdW7AzAF33IXf/TXaYsQ==","shasum":"8db0fd016d8b965a4a27dec2b8d900e6548db5fb","tarball":"https://registry.npmjs.org/react-native-appearance/-/react-native-appearance-0.0.5.tgz","fileCount":25,"unpackedSize":55573,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdYHgnCRA9TVsSAnZWagAAxdQP/RqqoCk1p2e3RQB8N4eY\nouYkKeLdpSQ3FuRvfAcKP5onxFHEUEYY5SuAlkprdmhSTIpfK/ieCyDxOeft\nBF2NZcqKBPp1F4CEzqSQ8/MeaeRxzc7s3ik2lJQfRTgf9LvkL4DvRMmBxnXx\n/5DA68hkAjVd2Uzp9sTttzPYtu7Qzk1scMQ5GOfw2PdBrcuP93QHYzOKF3Ch\neK3tOPtcZ2Ous+0SgaxRJLoarCE1/MRBYW1k7bJZ/Akoik/fX4OaFWJ9TOBP\ndyEkjisQVYtVTg4MpvUOiYgm8b1AhI2sMtVUfEeFJZ1D6iYq/Pr4K2lc1Uzw\nLDVS691VLQ4i+g0ZOr46PUPao58IGfbGBDQXz7rQLkFMPKTpk3oW/S2ydI2o\nb3XGG2/05QYVHGAdJsFl3RCh0ulY70khOyLFZarwGV4UJ0CfIXMH4Nt1A7/W\nJ5f8VDFLPz8Zf1CObl5Y6IPeyY/DOwojYHwVdfkX0jV+Pi4vVD8YFf1k3K5r\n/uwnWQqyTdxkTunevHijXAmKnjhi+gBBuQ7OyLo3WrS6lAsx1eCCIjyDXnlP\nFQ879PbKYX66gfS7IGUfkZKCL6JmcOQm2ci3b7gRNHC1Ydz7TL7zeUT4Xq2Z\nd9nY0sx3sRYqsmt2WAzCnZQJVsRoL3DUqRiM544rcIbwyF7ggeZJ3rU5JB8N\n0q48\r\n=jxW1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC/KzbwOwVqaj/z4RPXBP2qnzaJ3sGwTswuuKqlWmYUngIhAN6Z+UgVjU9l3CRGzEQyj+v9gI3LzmIyWbaCOhMzprwb"}]},"maintainers":[{"name":"brentvatne","email":"brentvatne@gmail.com"}],"_npmUser":{"name":"brentvatne","email":"brentvatne@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-appearance_0.0.5_1566603302693_0.41356841111017606"},"_hasShrinkwrap":false},"0.0.6":{"name":"react-native-appearance","version":"0.0.6","description":"Polyfill for `Appearance` API which will likely be available in `react-native@>=0.61`. iOS only.","main":"src/index","module":"src/index","sideEffects":false,"author":{"name":"Brent Vatne","email":"brent@expo.io"},"homepage":"https://github.com/expo/react-native-appearance#readme","license":"MIT","scripts":{"start":"react-native start","start:web":"expo start --web --config example/app.json","test":"yarn validate:prettier && yarn validate:eslint && yarn validate:typescript","validate:eslint":"eslint \"src/**/*.{js,ts,tsx}\" \"example/**/*.{js,ts,tsx}\"","validate:typescript":"tsc --project ./ --noEmit","validate:prettier":"prettier \"src/**/*.{js,ts,tsx}\" \"example/**/*.{js,ts,tsx}\" --check"},"keywords":["react-native","react native","react-native-web","expo-web","appearance"],"peerDependencies":{"react-native":">=0.59"},"dependencies":{"fbemitter":"^2.1.1","invariant":"^2.2.4","use-subscription":"^1.0.0"},"devDependencies":{"@react-native-community/eslint-config":"^0.0.5","@types/react-native":"^0.60.5","@typescript-eslint/eslint-plugin":"^1.7.0","@typescript-eslint/parser":"^1.7.0","@babel/core":"^7.0.0","eslint":"5.16.0","eslint-config-prettier":"^4.2.0","eslint-plugin-prettier":"3.0.1","expo":"^34.0.4","metro-react-native-babel-preset":"^0.55.0","prettier":"^1.18.2","react":"16.8.6","react-dom":"16.8.6","react-native":"~0.60.3","react-native-web":"^0.11.7","typescript":"^3.5.3"},"repository":{"type":"git","url":"git+https://github.com/expo/react-native-appearance.git"},"gitHead":"e0bdbc550f6d983ad1b1df10c5fe153ac1544bd1","bugs":{"url":"https://github.com/expo/react-native-appearance/issues"},"_id":"react-native-appearance@0.0.6","_nodeVersion":"12.3.1","_npmVersion":"6.9.0","dist":{"integrity":"sha512-VmeQ2gfKlxhd5JbBZm332ubAjKLbsauM7HH2zEk4gr+jJdlFjBNSAaXEd/b8Zyj1Av8OewVCos6DAelu3K/o7w==","shasum":"3cc7f885b724e6eca3f6c957e0adca7e04d08181","tarball":"https://registry.npmjs.org/react-native-appearance/-/react-native-appearance-0.0.6.tgz","fileCount":25,"unpackedSize":55572,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdYIg7CRA9TVsSAnZWagAAA3kP/iPjdbijag2aqQtCHufd\nEQ3fW2Xcx0XF+2mzKaM1erBGkiyyRN+H7h2hneJGM24C9/wLsP+CMj9hl/4Z\nBSpvmGHxcXQW+Yg04OiFHdKpL5UxxgemDm+Ugo0kJLxywifQ4CK9b6aVdMgw\nBaFO3PvBrwOKlklKYAjWxofHeqrUy/vsl8hsZPtZcPjhqzh5jbzv3nspBKSH\nyk1/leFoULjGdBf1R7huj/EZP3NFJx1KiAJB3RtsXa2Q7gXq+HK8sS0iag/v\nFKWVKNlDpWTMwASTi7atcZTGWakKWz2bbmayxEisOiyVJlZuqUMAIQTzppSR\nCeDWcNU3whXEiH7PxX87ENvYd3CMhL+G0cNqi//qrSApwSUd6SYKKrb/vnWi\n95o8K9bFvaqxPBTmiRZy7VxV2oereIa6/j7i3H2XA3Oig5u7mv94BUE8/0s8\nntuRgJ7S8earcA3TfIM5ZJO8ti+RGL2G/RXktUUdyVQcPnXoK9pK0PLYKTY1\njOqTNg+/RJp8umFY5P+S8DqH35ouEYiO8p4Cgw2KBFDQipmvdyi6lxN3Nd4v\nnjfPXm5X2WyFA1a+IFsXslneuwRzCGtcoikwQONho7bw9B3ux2gkEBlTf+SD\nc6pdYEKSLNESgnAzKuHGJnF9t9QzcrOEZPp2cBVUt02Dv5eBqfLtFIXRpfiV\nrjGz\r\n=ZUXT\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG7c4dVyCPtKKADpHHTuOOHp/phbvvxEyRy8UkE111OmAiEA7AfAfuIb4j64a9HvjxoEBd4BxljJoyYAJODwI1WCZM8="}]},"maintainers":[{"name":"brentvatne","email":"brentvatne@gmail.com"}],"_npmUser":{"name":"brentvatne","email":"brentvatne@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-appearance_0.0.6_1566607418875_0.19733149315557696"},"_hasShrinkwrap":false},"0.0.7":{"name":"react-native-appearance","version":"0.0.7","description":"Polyfill for `Appearance` API which will likely be available in `react-native@>=0.61`. iOS only.","main":"src/index","module":"src/index","sideEffects":false,"author":{"name":"Brent Vatne","email":"brent@expo.io"},"homepage":"https://github.com/expo/react-native-appearance#readme","license":"MIT","scripts":{"start":"react-native start","start:web":"expo start --web --config example/app.json","test":"yarn validate:prettier && yarn validate:eslint && yarn validate:typescript","validate:eslint":"eslint \"src/**/*.{js,ts,tsx}\" \"example/**/*.{js,ts,tsx}\"","validate:typescript":"tsc --project ./ --noEmit","validate:prettier":"prettier \"src/**/*.{js,ts,tsx}\" \"example/**/*.{js,ts,tsx}\" --check"},"keywords":["react-native","react native","react-native-web","expo-web","appearance"],"peerDependencies":{"react-native":">=0.59"},"dependencies":{"fbemitter":"^2.1.1","invariant":"^2.2.4","use-subscription":"^1.0.0"},"devDependencies":{"@react-native-community/eslint-config":"^0.0.5","@types/react-native":"^0.60.5","@typescript-eslint/eslint-plugin":"^1.7.0","@typescript-eslint/parser":"^1.7.0","@babel/core":"^7.0.0","eslint":"5.16.0","eslint-config-prettier":"^4.2.0","eslint-plugin-prettier":"3.0.1","expo":"^34.0.4","metro-react-native-babel-preset":"^0.55.0","prettier":"^1.18.2","react":"16.8.6","react-dom":"16.8.6","react-native":"~0.60.3","react-native-web":"^0.11.7","typescript":"^3.5.3"},"repository":{"type":"git","url":"git+https://github.com/expo/react-native-appearance.git"},"gitHead":"cd46e8504cb838ad29dc20c5a5c96a54d744c3fb","bugs":{"url":"https://github.com/expo/react-native-appearance/issues"},"_id":"react-native-appearance@0.0.7","_nodeVersion":"12.3.1","_npmVersion":"6.9.0","dist":{"integrity":"sha512-koqGKX2c/WUkOmtQWEoQtFFwEoXH2K9mO+3gZ2kocJx7xynAqtqpczbYk2DtwEdoUCVrxA/otlzTWdS5yY6mnA==","shasum":"47b81bb8a5e55f6f4298604e6af0f7491626849c","tarball":"https://registry.npmjs.org/react-native-appearance/-/react-native-appearance-0.0.7.tgz","fileCount":25,"unpackedSize":56070,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdYI+OCRA9TVsSAnZWagAAAxEP/RB/yCzUCLYofPd0UY2d\nfhugLBWKiT9WsBO6uAdgu9F0XR3uky7UTi5VQDEy8D0qqRWL5E5DGjdQmzjh\nexc6dddGsqDSiwrm3ufoanhMkaHY5+geekB6CSrn9Y1kramaYmVPmVVJkaLx\nGIobj6Tj2dcrR/KeByAxrOwFb8+LQsCYycJH77mDv1dM6nTELw7+lDLqOBza\n054QYq5gacVnqONiTWPhNFs14zdrKYR8r7Jho6mawdVSdWRlfblYpV9YAB0c\nsrcEJiOy9KBSIJ45V3T/HOrBT3KR9g2NmOesy4ednCO+tsE0pLd/H0CrNoqs\nCBm5AENW+yccmXGB5SdDgp7UxgLCkBAmQAegGEIZD4g3V6/JQJs2JOOg6sKl\nKHb79h0V9Z8dgJPGdVqOoJGjG0X8sSQv3Ya0/Ul2Q8BPskK96qUZ31FnggR+\nI+HP+RI0iAir2Is75yzdZKf84Eg7rcABYeEMoq45GXUlTWySxDPxgzPXydgP\n7hDKRqD4pVhwX6k1EAf6Yn26nj8GU7d5+vii9/iLf8HYrORAsOOZVtb/TgRZ\nKOxZ8SnuFv4tXRcOxtPZbZ4nZBme2Xrel6yImNH2/5Na8/rOU6Md38gFC3Yo\noQmpdkyfR30lq6B1fCaOoNehW79kj6DvMnJKmclOYaQ+nT73kkaiE6Bswn1d\nr0ZG\r\n=/C5F\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCcZ0UOU+ea+tjxb7x5+nha9ExAxLDNrQT/mmp8HiqAcAIhAIox55bxEsy6vSEUU+VLbhMwa3TuzfK0cJOhKVyMQZWE"}]},"maintainers":[{"name":"brentvatne","email":"brentvatne@gmail.com"}],"_npmUser":{"name":"brentvatne","email":"brentvatne@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-appearance_0.0.7_1566609293746_0.678966361788139"},"_hasShrinkwrap":false},"0.0.8":{"name":"react-native-appearance","version":"0.0.8","description":"Polyfill for `Appearance` API which will likely be available in `react-native@>=0.61`. iOS only.","main":"src/index","module":"src/index","sideEffects":false,"author":{"name":"Brent Vatne","email":"brent@expo.io"},"homepage":"https://github.com/expo/react-native-appearance#readme","license":"MIT","scripts":{"start":"react-native start","start:web":"expo start --web --config example/app.json","test":"yarn validate:prettier && yarn validate:eslint && yarn validate:typescript","validate:eslint":"eslint \"src/**/*.{js,ts,tsx}\" \"example/**/*.{js,ts,tsx}\"","validate:typescript":"tsc --project ./ --noEmit","validate:prettier":"prettier \"src/**/*.{js,ts,tsx}\" \"example/**/*.{js,ts,tsx}\" --check"},"keywords":["react-native","react native","react-native-web","expo-web","appearance"],"peerDependencies":{"react-native":">=0.59"},"dependencies":{"fbemitter":"^2.1.1","invariant":"^2.2.4","use-subscription":"^1.0.0"},"devDependencies":{"@react-native-community/eslint-config":"^0.0.5","@types/react-native":"^0.60.5","@typescript-eslint/eslint-plugin":"^1.7.0","@typescript-eslint/parser":"^1.7.0","@babel/core":"^7.0.0","eslint":"5.16.0","eslint-config-prettier":"^4.2.0","eslint-plugin-prettier":"3.0.1","expo":"^34.0.4","metro-react-native-babel-preset":"^0.55.0","prettier":"^1.18.2","react":"16.8.6","react-dom":"16.8.6","react-native":"~0.60.3","react-native-web":"^0.11.7","typescript":"^3.5.3"},"repository":{"type":"git","url":"git+https://github.com/expo/react-native-appearance.git"},"gitHead":"13e7e8f87779ce7062a2d7f6719532a89e4ca87d","bugs":{"url":"https://github.com/expo/react-native-appearance/issues"},"_id":"react-native-appearance@0.0.8","_nodeVersion":"12.3.1","_npmVersion":"6.11.2","dist":{"integrity":"sha512-nxYAMjjj+OBtczK3EwGQdghJQkPtupqoraKF//fIbcgNRZ9dMhoUMmbLOV9oLLY5Wxu3DbxGsebGGZdEtyVVjQ==","shasum":"b887931c7ea03664792e509c657a01fb7b2ad83b","tarball":"https://registry.npmjs.org/react-native-appearance/-/react-native-appearance-0.0.8.tgz","fileCount":25,"unpackedSize":56176,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdZc/hCRA9TVsSAnZWagAAfPcP/iSPFZAuVgVGNZRV2nOb\nGPx8wVxwRyFRz0nX1npxIiKtHcoxXeum+zkAY5ygj1MVRE0eQoyFFHJGxM5F\nz5quhz2KWNJcKgLjytlbadYdJua0G/d0HDKTfRCldKiZvED+KtaLFW2NH5Dn\ny+wNST/qsLc1svIKx62EW+zwympzVYyS8FzPH+itrAupQbVxPUUnPN8o/T+O\n0yjJzqUn9z2sUmpeW+VXIsJhGiYXIgxIw3kYgwq7somcS8p9PqcL/vL/Yrb5\n1ZtSeNUPO8/mA78CS7tpAyBLQsGwUbiwNGwX0OqreXKdf+qvlVP5uHERy0R7\nZqZXE9BcIPoVnxG27aTrnYkQ5WnQqhvDQ45pk69bfrJf5FdzfmRtTNjWdBWe\nE6cIpzap023F/8lr6Vuur+TzNc2Eg6mXAtd1rO0sTuEHeA4dcpB2vQ7b4t/F\nmsGbQNz6vbXI3jcPcNMyJXXEEaeL0gRpC9ztdVd4EVAokDEyva648qODyZbZ\nGzelEPsjnJEz/0Y9A69dAzlo/GgVJUuKDbZ/7zezrKBPl3itpMCxNlTS8Gfr\njsBIQdMNilg43quPtfkbrwlvcgdVVAt/uycByH7y+Dx6ukN2SqIhMiVuZDCj\nRQnAmVCvRGmPOlmiAMoZpbN4ZAXV46InpokOEO4qY8jQYX4cDpVKDO5xcUPI\nqapn\r\n=sW9B\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD23fH8WqlkPf49/RcpgdpOtT3VUT+kFvep/40Em5vFugIhALInJ57HasucPMcASCpiPa3rH6OsWPI7e9qNLx/Sg/4q"}]},"maintainers":[{"name":"brentvatne","email":"brentvatne@gmail.com"}],"_npmUser":{"name":"brentvatne","email":"brentvatne@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-appearance_0.0.8_1566953440702_0.782640021479269"},"_hasShrinkwrap":false},"0.1.0":{"name":"react-native-appearance","version":"0.1.0","description":"Polyfill for `Appearance` API which will likely be available in `react-native@>=0.61`. iOS only.","main":"src/index","module":"src/index","sideEffects":false,"author":{"name":"Brent Vatne","email":"brent@expo.io"},"homepage":"https://github.com/expo/react-native-appearance#readme","license":"MIT","scripts":{"start":"react-native start","start:web":"expo start --web --config example/app.json","test":"yarn validate:prettier && yarn validate:eslint && yarn validate:typescript","validate:eslint":"eslint \"src/**/*.{js,ts,tsx}\" \"example/**/*.{js,ts,tsx}\"","validate:typescript":"tsc --project ./ --noEmit","validate:prettier":"prettier \"src/**/*.{js,ts,tsx}\" \"example/**/*.{js,ts,tsx}\" --check"},"keywords":["react-native","react native","react-native-web","expo-web","appearance"],"peerDependencies":{"react-native":">=0.59"},"dependencies":{"fbemitter":"^2.1.1","invariant":"^2.2.4","use-subscription":"^1.0.0"},"devDependencies":{"@react-native-community/eslint-config":"^0.0.5","@types/react-native":"^0.60.5","@typescript-eslint/eslint-plugin":"^1.7.0","@typescript-eslint/parser":"^1.7.0","@babel/core":"^7.0.0","eslint":"5.16.0","eslint-config-prettier":"^4.2.0","eslint-plugin-prettier":"3.0.1","expo":"^34.0.4","metro-react-native-babel-preset":"^0.55.0","prettier":"^1.18.2","react":"16.8.6","react-dom":"16.8.6","react-native":"~0.60.3","react-native-web":"^0.11.7","typescript":"^3.5.3"},"repository":{"type":"git","url":"git+https://github.com/expo/react-native-appearance.git"},"gitHead":"9ce8f4504500471908dac5b4538e5b23b0cda449","bugs":{"url":"https://github.com/expo/react-native-appearance/issues"},"_id":"react-native-appearance@0.1.0","_nodeVersion":"12.3.1","_npmVersion":"6.11.2","dist":{"integrity":"sha512-WitRX+1bYCwTOxh0dV+/3Pv/O0jzKl/Y+O4kMiPhiJFe/tibAE8l5wYw6l3X1gkPMn52khdxBDV0Ndkp3Pjvdw==","shasum":"a195d9a71c03dc4de246b86a18e95c8ecd08d505","tarball":"https://registry.npmjs.org/react-native-appearance/-/react-native-appearance-0.1.0.tgz","fileCount":25,"unpackedSize":56576,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdeXpDCRA9TVsSAnZWagAAGzMP/199A3bSC1X+0/nCnQEA\no63Rl/SryX2mMzbyF/ak588H7HaKjml3oQ3MuJLXZPZhFDF8F77SxpeeqEzB\nFlUkAV+KpQOQtoIF4t8LCzudX+kMMCSQf+/KO4NCps9dpQatBt4hMj7l0+p5\nEwNK41i1dNpFcRo2fwAQUFpWv0fcNINJfO+c4PeDrBpic9AC7QnafpstOM6d\nGKK4vwTuH02dgDHkveFz7NCJbbSADbUY595FDORzQ5vkd7MAMGASFg50+E6m\nM/6x/aSYMi4+iWea7uhLnle1aWwquGqEd56XFXsFOyysQ3cq5An+t3jTJWFn\n81Ws7V9qVtUexJ8Gz9gGIt7OglhJg28n+AiQqMSvPSHNNggqREXkBBoR0XwP\nxFx4hckT6s3cEgPc3++WLMuMPuq6utjW0OpfutUpWlZQ+OgkRNeFUc9GNIe+\noGDRxggN9+TSlUlHqQgjpQESo0maafZz/mfYXrm5YZVPOmVDUTdVWouLSOZU\nTWOImxHEDoCpIrUZK3hqtCff+Wub7wqfKCHRFdydiqAwVWYAIUyEAHb9psTJ\npajYLa0p8CeVGYhmCbKIrvMt/FZ9oF/SLaerbziEvNGQxGG9rgU+jg3QqQeu\nJlIqh0RU9xIwrc4DaJjIdCstgKMAFHedPOe3DCtSQ+ewc3J79Rjc6wBDuXD6\nIZon\r\n=44Ov\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDNJxj1AjxTumDa9iO/xh3I4jQx/36BRmOfXaI/Vc9twQIhAPQZoo5xkd4hBaxcLpUOaZLqN82zedKDA/Muc7j6DB0z"}]},"maintainers":[{"name":"brentvatne","email":"brentvatne@gmail.com"}],"_npmUser":{"name":"brentvatne","email":"brentvatne@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-appearance_0.1.0_1568242242350_0.39928278809949713"},"_hasShrinkwrap":false},"0.2.0-rc.0":{"name":"react-native-appearance","version":"0.2.0-rc.0","description":"Polyfill for `Appearance` API which will likely be available in `react-native@>=0.61`. iOS only.","main":"src/index","module":"src/index","sideEffects":false,"nativePackage":true,"author":{"name":"Brent Vatne","email":"brent@expo.io"},"homepage":"https://github.com/expo/react-native-appearance#readme","license":"MIT","scripts":{"start":"react-native start","start:web":"expo start --web --config example/app.json","test":"yarn validate:prettier && yarn validate:eslint && yarn validate:typescript","validate:eslint":"eslint \"src/**/*.{js,ts,tsx}\" \"example/**/*.{js,ts,tsx}\"","validate:typescript":"tsc --project ./ --noEmit","validate:prettier":"prettier \"src/**/*.{js,ts,tsx}\" \"example/**/*.{js,ts,tsx}\" --check"},"keywords":["react-native","react native","react-native-web","expo-web","appearance"],"peerDependencies":{"react-native":">=0.59","react-native-web":">=0.11.7"},"dependencies":{"fbemitter":"^2.1.1","invariant":"^2.2.4","use-subscription":"^1.0.0"},"devDependencies":{"@react-native-community/eslint-config":"^0.0.5","@types/react-native":"^0.60.5","@typescript-eslint/eslint-plugin":"^1.7.0","@typescript-eslint/parser":"^1.7.0","@babel/core":"^7.0.0","eslint":"5.16.0","eslint-config-prettier":"^4.2.0","eslint-plugin-prettier":"3.0.1","expo":"^34.0.4","metro-react-native-babel-preset":"^0.55.0","prettier":"^1.18.2","react":"16.8.6","react-dom":"16.8.6","react-native":"~0.60.3","react-native-web":"^0.11.7","typescript":"^3.5.3"},"repository":{"type":"git","url":"git+https://github.com/expo/react-native-appearance.git"},"readme":"# react-native-appearance\n\nPolyfill for `Appearance` API to detect preferred color scheme (light/dark) in React Native 0.59, 0.60 and perhaps more (ymmv outside of these two!). The `Appearance` API will likely be available in `react-native@>=0.61`.\n\nThis library is currently iOS only, and on iOS < 13 the color scheme will always be `'no-preference'`.\n\n## Installation\n\nInstallation instructions vary depending on whether you're using a managed Expo project or a bare React Native project.\n\n### Managed Expo project\n\nThis library is supported in Expo SDK 35+.\n\n```sh\nexpo install react-native-appearance\n```\n\n### Bare React Native project\n\n```sh\nyarn add react-native-appearance\n```\n\n## Linking\n\nAfter installing the package you need to link the native parts of the library for the platforms you are using. The easiest way to link the library is using the CLI tool by running this command from the root of your project:\n\n```sh\nreact-native link react-native-appearance\n```\n\nIf you can't or don't want to use the CLI tool, you can also manually link the library using the instructions below (click on the arrow to show them):\n\n<details>\n<summary>Manually link the library on iOS</summary>\n\nEither follow the [instructions in the React Native documentation](https://facebook.github.io/react-native/docs/linking-libraries-ios#manual-linking) to manually link the framework or link using [Cocoapods](https://cocoapods.org) by adding this to your `Podfile`:\n\n```ruby\npod 'react-native-appearance', :path => '../node_modules/react-native-appearance'\n```\n\n</details>\n\n<details>\n<summary>Manually link the library on Android</summary>\n\n1. Open up `android/app/src/main/java/[...]/MainApplication.java`\n\n- Add `import com.reactlibrary.RNCApperancePackage;` to the imports at the top of the file\n- Add `new RNCApperancePackage()` to the list returned by the `getPackages()` method\n\n2. Append the following lines to `android/settings.gradle`:\n\n```\ninclude ':react-native-appearance'\nproject(':react-native-appearance').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-appearance/android')\n\n```\n\n3. Insert the following lines inside the dependencies block in `android/app/build.gradle`:\n\n```\nimplementation project(':react-native-appearance')\n```\n\n</details>\n\n## Configuration\n\n<details>\n<summary>iOS configuration</summary>\n\nIn Expo managed projects, add `ios.userInterfaceStyle` to your `app.json`:\n\n```json\n{\n  \"expo\": {\n    \"ios\": {\n      \"userInterfaceStyle\": \"automatic\"\n    }\n  }\n}\n```\n\nIn bare React Native apps, you can configure supported styles with the [UIUserInterfaceStyle](https://developer.apple.com/documentation/bundleresources/information_property_list/uiuserinterfacestyle) key in your app `Info.plist`.\n\n</details>\n\n<details>\n<summary>Android configuration</summary>\n\nAdd the `uiMode` flag in `AndroidManifest.xml`:\n\n```xml\n<activity\n...\nandroid:configChanges=\"keyboard|keyboardHidden|orientation|screenSize|uiMode\">\n```\n\nImplement the `onConfigurationChanged` method in `MainActivity.java`:\n\n```java\nimport android.content.Intent; // <--- import\nimport android.content.res.Configuration; // <--- import\n\npublic class MainActivity extends ReactActivity {\n  ......\n\n  // copy these lines\n  @Override\n  public void onConfigurationChanged(Configuration newConfig) {\n    super.onConfigurationChanged(newConfig);\n    Intent intent = new Intent(\"onConfigurationChanged\");\n    intent.putExtra(\"newConfig\", newConfig);\n    sendBroadcast(intent);\n  }\n\n  ......\n}\n```\n\n</details>\n\n## Usage\n\nFirst, you need to wrap your app in the `AppearanceProvider`. At the root of your app, do the following:\n\n```js\nimport { AppearanceProvider } from 'react-native-appearance';\n\nexport default () => (\n  <AppearanceProvider>\n    <App />\n  </AppearanceProvider>\n);\n```\n\nNow you can use `Appearance` and `useColorScheme` anywhere in your app.\n\n```js\nimport { Appearance, useColorScheme } from 'react-native-appearance';\n\n/**\n * Get the current color scheme\n */\nAppearance.getColorScheme();\n\n/**\n * Subscribe to color scheme changes with a hook\n */\nfunction MyComponent() {\n  const colorScheme = useColorScheme();\n  if (colorScheme === 'dark') {\n    // render some dark thing\n  } else {\n    // render some light thing\n  }\n}\n\n/**\n * Subscribe to color scheme without a hook\n */\nconst subscription = Appearance.addChangeListener(({ colorScheme }) => {\n  // do something with color scheme\n});\n\n// Remove the subscription at some point\nsubscription.remove()\n```\n\n## Attribution\n\nThis was mostly written by Facebook for inclusion in React Native core. It is provided here as a separate module so people can opt-in to using it without updating entirely to the newest React Native version.\n","readmeFilename":"README.md","gitHead":"f51c5744ad33b7e3820a920ad189fa7bb18c15cf","bugs":{"url":"https://github.com/expo/react-native-appearance/issues"},"_id":"react-native-appearance@0.2.0-rc.0","_nodeVersion":"12.3.1","_npmVersion":"6.11.2","dist":{"integrity":"sha512-JHxmiq5AZ+b6cxS4L8suXTa8tFGGRvJ8RwWupkwTfs28+AeFKa0xxtfziGLHVWEKIBR4+1PyDWvpckfCocXqCQ==","shasum":"cd430b5d2adebbb0e99781c3454f59bb64b9936e","tarball":"https://registry.npmjs.org/react-native-appearance/-/react-native-appearance-0.2.0-rc.0.tgz","fileCount":33,"unpackedSize":58643,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJds7bVCRA9TVsSAnZWagAA6zYP/0pEYU4cJpm/2bVm3bZ+\nYCws0gJDXe3CmIxfTmnAZwUoHjvnj6W58GHegA8Tmfp3OFI4wNaffROI5rqF\nmQSOeuWD35Hjx9T5KuLiHMywiKxjSIrCJJKFQnNjqY/5WOZFVgJyhZ1eyvvz\n/MfGG8CF5iMYjYWxw7V8PWp2NQOXd8ne5a1cd31yNPTvemfzFwvK5tW1ZCjY\ngMU+Uq7XCkvdjbrJaIBN7+uwgVVmg4ig3oCv0DnO5RWdLPKB2aEFqZH8uhPs\ni4JVpFuDyjClrwB69Y7fngxxlMHqSgaLElK0W6kszZVoLRDouZMPwvYRhxL4\na+tKmVG+pB77xnN9VF1szzo611T68rDpDtTvS1FBbB+oEFz8DWOpOWe5kbMf\nNnLVPZ/vIaNd3SlGU5Tet5C3AHFNSHYROQUZvY4Iig/eHbKiuITe6N4x6/y9\nscyK+uN0SjtUwHVe3YCGxEewUNqDLUjH0LoO7ObAxgd/9A43zSR4IYR4u2HF\n0k3EREscg0gkSB/tdrZF3sqmPWRFVwb+qtt+ALJO1OQvmIycZd9kRmOI10hS\nfyMoH+yNihybLBjBWnTXGO3gpFLeMHSvwpi9lrp22vUD6lcQkgOaqUMomWfz\nReUisU3+OhZNK+xWV4C9kkdqjkNKZBEwcrUIhqGsaM8vgUzDEiQIIHW/uKSs\n1rDF\r\n=m9YG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBMGBO3u9iyUhsdHYdnubvcRIHdLG8Qgsq6ZtNVpKAN2AiEAtfwndWBAEQaHZ5LWvFeOcSYFWVNxOlJlAJ3UXVG8L9Y="}]},"maintainers":[{"name":"brentvatne","email":"brentvatne@gmail.com"}],"_npmUser":{"name":"brentvatne","email":"brentvatne@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-appearance_0.2.0-rc.0_1572058836949_0.8419597099030871"},"_hasShrinkwrap":false},"0.2.0":{"name":"react-native-appearance","version":"0.2.0","description":"Polyfill for `Appearance` API which will be available in `react-native@0.62`.","main":"src/index","module":"src/index","sideEffects":false,"nativePackage":true,"author":{"name":"Brent Vatne","email":"brent@expo.io"},"homepage":"https://github.com/expo/react-native-appearance#readme","license":"MIT","scripts":{"start":"react-native start","start:web":"expo start --web --config example/app.json","test":"yarn validate:prettier && yarn validate:eslint && yarn validate:typescript","validate:eslint":"eslint \"src/**/*.{js,ts,tsx}\" \"example/**/*.{js,ts,tsx}\"","validate:typescript":"tsc --project ./ --noEmit","validate:prettier":"prettier \"src/**/*.{js,ts,tsx}\" \"example/**/*.{js,ts,tsx}\" --check"},"keywords":["react-native","react native","react-native-web","expo-web","appearance"],"peerDependencies":{"react-native":">=0.59","react-native-web":">=0.11.7"},"dependencies":{"fbemitter":"^2.1.1","invariant":"^2.2.4","use-subscription":"^1.0.0"},"devDependencies":{"@react-native-community/eslint-config":"^0.0.5","@types/react-native":"^0.60.5","@typescript-eslint/eslint-plugin":"^1.7.0","@typescript-eslint/parser":"^1.7.0","@babel/core":"^7.0.0","eslint":"5.16.0","eslint-config-prettier":"^4.2.0","eslint-plugin-prettier":"3.0.1","expo":"^34.0.4","metro-react-native-babel-preset":"^0.55.0","prettier":"^1.18.2","react":"16.8.6","react-dom":"16.8.6","react-native":"~0.60.3","react-native-web":"^0.11.7","typescript":"^3.5.3"},"repository":{"type":"git","url":"git+https://github.com/expo/react-native-appearance.git"},"gitHead":"75cb43f4e5850d4c6189b52dd2ec0ca50a1082ef","bugs":{"url":"https://github.com/expo/react-native-appearance/issues"},"_id":"react-native-appearance@0.2.0","_nodeVersion":"12.3.1","_npmVersion":"6.11.2","dist":{"integrity":"sha512-qCWDPUghmp1Zao2r8NDtGOMeUAJcRD0e6ZKApj7cPYOclwJmMAvWTcEh5YfveUGO/RyogK8vipelmu4saj6vQA==","shasum":"7c1b77a788d91969da244166e67d5de8dd77b428","tarball":"https://registry.npmjs.org/react-native-appearance/-/react-native-appearance-0.2.0.tgz","fileCount":33,"unpackedSize":58584,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdxNYpCRA9TVsSAnZWagAA7JkP/jZyODcaLEeB18cPbcFA\nZqKCquK720c0RhrewxVIkMC8rL32zVTgGSoXE6kc2FLLv7rS2Fe9OrSBfELQ\nqFTYHXZj5u3Yl+tiGK7p9B9B9OszeZPnNX8wFcGPpnQycOalMSL0iCC2Oc1F\n8nxWZGrKdheCWfiNBCRAi6phuzVhKBuETpjl4/HipvjwXxvfAo02/EvoGLMz\nPaTeuLEKXs81sVnDrCwbV2uhkjxd3pjJTMvs+uF8yQVfmuoJqowh8sJ1sJcW\nqXB28EI4KbqF5a3AM3mTrB11S9fjqyWPnxBPd3p176tWm4PpWwgvcmLLX9st\njjoKnuk4Ws3oIw6/yWRZ8f7ylTmoNWgBdO2WyUbjR9zOebEI5wk+t1Mejbg4\nuo3BfN5KwimRkm8UY9HlsFprS8ZhQBrkuLIulJlfStm3gojeLnYkoB6AiChE\nyW4qMoNTVRNFWdkDzgW3s4C2HiPM8syQFt3bxD3St1r6jz5Whb8hNZ/MIu75\nbtVg2hBaN11vf9WEbrERvEI4f/kOAm+I9xN2UsRCW59sP3vkfZxuhXLqFEDu\nXdv5oTfY0t/os6ubQnSDKcAtfIuc4iVQdU1nL1LvJ/7WcmDwuk8JxBTco++U\nKwW43k8VDCL736LjFRhZ/6QLxok3uXQ9irPcjCrU0bi+/2Sfxl9QUrobc1y3\nf8Ys\r\n=SJoY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC6TjGYzwl4dajgukpkN66sXgkTZYOOvqdMqmpEz3x/qAiEAlgjdsfS00DJEoJ2jTYQR96qqCIu2T0NUiLyG2ZDcJTM="}]},"maintainers":[{"name":"brentvatne","email":"brentvatne@gmail.com"}],"_npmUser":{"name":"brentvatne","email":"brentvatne@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-appearance_0.2.0_1573180969135_0.7937963576911478"},"_hasShrinkwrap":false},"0.2.1":{"name":"react-native-appearance","version":"0.2.1","description":"Polyfill for `Appearance` API which will be available in `react-native@0.62`.","main":"src/index","module":"src/index","sideEffects":false,"nativePackage":true,"author":{"name":"Brent Vatne","email":"brent@expo.io"},"homepage":"https://github.com/expo/react-native-appearance#readme","license":"MIT","scripts":{"start":"react-native start","start:web":"expo start --web --config example/app.json","test":"yarn validate:prettier && yarn validate:eslint && yarn validate:typescript","validate:eslint":"eslint \"src/**/*.{js,ts,tsx}\" \"example/**/*.{js,ts,tsx}\"","validate:typescript":"tsc --project ./ --noEmit","validate:prettier":"prettier \"src/**/*.{js,ts,tsx}\" \"example/**/*.{js,ts,tsx}\" --check"},"keywords":["react-native","react native","react-native-web","expo-web","appearance"],"peerDependencies":{"react-native":">=0.59","react-native-web":">=0.11.7"},"dependencies":{"fbemitter":"^2.1.1","invariant":"^2.2.4","use-subscription":"^1.0.0"},"devDependencies":{"@react-native-community/eslint-config":"^0.0.5","@types/react-native":"^0.60.5","@typescript-eslint/eslint-plugin":"^1.7.0","@typescript-eslint/parser":"^1.7.0","@babel/core":"^7.0.0","eslint":"5.16.0","eslint-config-prettier":"^4.2.0","eslint-plugin-prettier":"3.0.1","expo":"^34.0.4","metro-react-native-babel-preset":"^0.55.0","prettier":"^1.18.2","react":"16.8.6","react-dom":"16.8.6","react-native":"~0.60.3","react-native-web":"^0.11.7","typescript":"^3.5.3"},"repository":{"type":"git","url":"git+https://github.com/expo/react-native-appearance.git"},"gitHead":"7e8507f9d83e881783931dd7d015ae9dbf9c448d","bugs":{"url":"https://github.com/expo/react-native-appearance/issues"},"_id":"react-native-appearance@0.2.1","_nodeVersion":"12.3.1","_npmVersion":"6.11.2","dist":{"integrity":"sha512-eaNIVd3CPfDs4/10i0YxCYTx0FcbmaPcUh5xrzfHsgluPJJjHbJEV2MSHqukrNsQ9cQBMNvTSEaBrO9N16L7ZA==","shasum":"b8c08cbd6ea92533591c247a4a154b95fd8e31c8","tarball":"https://registry.npmjs.org/react-native-appearance/-/react-native-appearance-0.2.1.tgz","fileCount":33,"unpackedSize":58358,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdxNdICRA9TVsSAnZWagAAcw4P/jY0r2116EbnViEJPpk1\nYLHyfLKSVSzzZtXDTM/5/xLYr0j3paCdQpKnH7JURoznPhmNOgODHVELzi17\npZ0iCsGd2BIP6f++5odvy3KLo8oI8hDtMg94GS+wb3cJYIWWMADImQwDeA1z\nSMjNHvLFkVB7EQ6gJmRNmUi7HY/1kHDWJV7GFhleZDH/S2CFSs0uGnuca3/D\naHDukQEE3aiw6fjrkfFT8ZZRz99OFvfg8+p67TBRvBRGS1eGJef9VPccJcZ3\n5XqVO87INnRqvzBWLsXFedeZ7Q+TiMHNRQYP7hv8rEbfMsEZEBqDQVlrjV4k\nxj3sG/aHDosp2g0FVKB8QK3TBj659murapc5c8NTMcKBg7sAt4DScqACa2Gb\njy6qOHNRglB1C0+h/6mYXVtnzCU7i7h04IpkXAYYaXteDjFglgUBXkl38fyq\n0ijpxJDUNBmSlOR/LQfvSqK9kL6i0QPfABotXYKJVBo00wuGBSa42kBWwS5p\nbZiEMEiis0oEgets37Wa0kiT3XG29rMi2Tqe5RriMlVgjENnaCdJFu2XbIww\nelqC24dzpvGHPP4c7mC5Uqc8T4NfYZkX3IuZNoqthzBrRkkaTvzBPIGc77s0\nOw93c2nM/vMOC2VESWR4fqjAYITdpcMgWormHfKVgeLnJidnYhfGcdsZRfw3\n2A8B\r\n=Rxca\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIESLGoqTZYDUaruj4IpirvG2NjXs8B6HdCETi3h96dDnAiAXep6JZBzL9z3zfnBBfVYTfWMXRGBGVKz6IX40ySPVTQ=="}]},"maintainers":[{"name":"brentvatne","email":"brentvatne@gmail.com"}],"_npmUser":{"name":"brentvatne","email":"brentvatne@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-appearance_0.2.1_1573181256431_0.6526905756562777"},"_hasShrinkwrap":false},"0.2.2":{"name":"react-native-appearance","version":"0.2.2","description":"Polyfill for `Appearance` API which will be available in `react-native@0.62`.","main":"src/index","module":"src/index","sideEffects":false,"nativePackage":true,"author":{"name":"Brent Vatne","email":"brent@expo.io"},"homepage":"https://github.com/expo/react-native-appearance#readme","license":"MIT","scripts":{"start":"react-native start","start:web":"expo start --web --config example/app.json","test":"yarn validate:prettier && yarn validate:eslint && yarn validate:typescript","validate:eslint":"eslint \"src/**/*.{js,ts,tsx}\" \"example/**/*.{js,ts,tsx}\"","validate:typescript":"tsc --project ./ --noEmit","validate:prettier":"prettier \"src/**/*.{js,ts,tsx}\" \"example/**/*.{js,ts,tsx}\" --check"},"keywords":["react-native","react native","react-native-web","expo-web","appearance"],"peerDependencies":{"react-native":">=0.59","react-native-web":">=0.11.7"},"dependencies":{"fbemitter":"^2.1.1","invariant":"^2.2.4","use-subscription":"^1.0.0"},"devDependencies":{"@react-native-community/eslint-config":"^0.0.5","@types/react-native":"^0.60.5","@typescript-eslint/eslint-plugin":"^1.7.0","@typescript-eslint/parser":"^1.7.0","@babel/core":"^7.0.0","eslint":"5.16.0","eslint-config-prettier":"^4.2.0","eslint-plugin-prettier":"3.0.1","expo":"^34.0.4","metro-react-native-babel-preset":"^0.55.0","prettier":"^1.18.2","react":"16.8.6","react-dom":"16.8.6","react-native":"~0.60.3","react-native-web":"^0.11.7","typescript":"^3.5.3"},"repository":{"type":"git","url":"git+https://github.com/expo/react-native-appearance.git"},"gitHead":"38a809a650b4709ef07ef6fbc53b770ab1a2d291","bugs":{"url":"https://github.com/expo/react-native-appearance/issues"},"_id":"react-native-appearance@0.2.2","_nodeVersion":"12.3.1","_npmVersion":"6.11.2","dist":{"integrity":"sha512-+1oaDQfpkVS3hxcUvCBsqyDxhQp3SvEvaebMgGn9A9SgD1ZzNKrrCkG5KSnM07BHA4vnX2ZFT9ISPlLjcVMYig==","shasum":"40a73db9b08caea450c162c945617c3fb9b4ae41","tarball":"https://registry.npmjs.org/react-native-appearance/-/react-native-appearance-0.2.2.tgz","fileCount":32,"unpackedSize":45473,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd1EMECRA9TVsSAnZWagAA2OIP/2yd8IKxOKyemqLRbY2i\nFlP7QAqF0RuOQltx5RoQET19Ee6eeCL1ZzA5ZzeLIojB+D24O1aqroizgfzr\nDk9ciGIv4vainspmZTDHXP3GWZ+S3sR+rT8Ow3OhsMmUIwA43p1hshG98FK/\nLlmv9Bg2BRiEqapYURUd2znkw51uaeeKyrVBsk+k2R7L41UO5sDPW5KMQXkz\nDUN9a5fCWCt09r+ysYe0jpfHbyStdRuN32FzkAJC3zbZPMytrluDJGaBbsJz\nZoYKAxzTlMwTT7LAqkxPmHyyUTBinOn2P6RLASIRB60vJ9xxxyo7ayziTwzu\ntvXoY+GMEpC2zKt0qu1gnayhKBMPdKnAdEK0NXZo7rmznHQUx1sjGuHrcPMT\nb1B9nqtoOd2wW0JNZsg/5YMyzHRo5GeEFI0RLvJHIgWSKKj88NLzGf0RgPPL\nlWMns6H/S6i/vanTlZPcvV2rMnzqANoUlrQ4af/vbwg5tDBI0pQmfZfw7/Td\nFvD0+gj791DhzpqION/UwbXi6Zc9RCmctaoWBePcXv9wXU0Wc22sLBMQnZlu\ni4c/DoUKFVyvMki4U8TRM5+nQ4NaMF2xpBiGMkROhgHvQkygDz4G+C2zLyRQ\nGm1oXcnNQDIT9gIDggdLCYPdUCcDakX1hjBQteKtKJdfsBNCt999V1rQQKxi\njQhD\r\n=kx4A\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCtmZsoSuudftW6UoRwLK9DB2OINCPaWn8Z3B95W/1+bgIhAOb3TRWd/UCLemjq5ALnZyKBYJYu6iOFxx0hv2PERrKU"}]},"maintainers":[{"name":"brentvatne","email":"brentvatne@gmail.com"}],"_npmUser":{"name":"brentvatne","email":"brentvatne@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-appearance_0.2.2_1574191876028_0.20542642414904422"},"_hasShrinkwrap":false},"0.2.3":{"name":"react-native-appearance","version":"0.2.3","description":"Polyfill for `Appearance` API which will be available in `react-native@0.62`.","main":"src/index","module":"src/index","sideEffects":false,"nativePackage":true,"author":{"name":"Brent Vatne","email":"brent@expo.io"},"homepage":"https://github.com/expo/react-native-appearance#readme","license":"MIT","scripts":{"start":"react-native start","start:web":"expo start --web --config example/app.json","test":"yarn validate:prettier && yarn validate:eslint && yarn validate:typescript","validate:eslint":"eslint \"src/**/*.{js,ts,tsx}\" \"example/**/*.{js,ts,tsx}\"","validate:typescript":"tsc --project ./ --noEmit","validate:prettier":"prettier \"src/**/*.{js,ts,tsx}\" \"example/**/*.{js,ts,tsx}\" --check"},"keywords":["react-native","react native","react-native-web","expo-web","appearance"],"peerDependencies":{"react-native":">=0.59","react-native-web":">=0.11.7"},"dependencies":{"fbemitter":"^2.1.1","invariant":"^2.2.4","use-subscription":"^1.0.0"},"devDependencies":{"@react-native-community/eslint-config":"^0.0.5","@types/react-native":"^0.60.5","@typescript-eslint/eslint-plugin":"^1.7.0","@typescript-eslint/parser":"^1.7.0","@babel/core":"^7.0.0","eslint":"5.16.0","eslint-config-prettier":"^4.2.0","eslint-plugin-prettier":"3.0.1","expo":"^34.0.4","metro-react-native-babel-preset":"^0.55.0","prettier":"^1.18.2","react":"16.8.6","react-dom":"16.8.6","react-native":"~0.60.3","react-native-web":"^0.11.7","typescript":"^3.5.3"},"repository":{"type":"git","url":"git+https://github.com/expo/react-native-appearance.git"},"gitHead":"2377ffad0eccbe384c124c88dabafc7b6c75bfa3","bugs":{"url":"https://github.com/expo/react-native-appearance/issues"},"_id":"react-native-appearance@0.2.3","_nodeVersion":"12.3.1","_npmVersion":"6.12.1","dist":{"integrity":"sha512-wmBO0yr0QWERhOmwNLl8gThRTdWjEpCbJaWaDmCAsHAXpZEvdgaCxMuz6uDelgocpLIGhCP7o6YEcX1Rxy5vlA==","shasum":"789044eeb1e4f4ec969e382049fcc76802305c90","tarball":"https://registry.npmjs.org/react-native-appearance/-/react-native-appearance-0.2.3.tgz","fileCount":31,"unpackedSize":57461,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd3sI5CRA9TVsSAnZWagAAOaEP/3DHPaiFN9LluHDXQiG+\ncniOCpMNyKkXVXv4r6O0GRVLyqvAVfRICax8Z9P0QB22fNrPvrN6wRZFnE3f\nRdRt+WpRgpwIAwQNN00kdR0sd0xzJt1TVl8F4sb//ZqlNWzhsYUIyvFGbdkf\niGea7DjWfgB8BXJLktzDFqRV+sVVnEj0z8sLHoVvGBU/iHnpSmmlBqxKtRnF\nTSvYujS1zVx2pyqVtAysBlbGZi/Xd8543HFlaxitWuLm96+IRh8KwV3GbCid\nEloYCdd+lMG2bn1rEeKxoo3B1ik3MfCu90WC054IwOvLYSLpMVQJ/8fHuVVF\no80XaE8IoXKJ1hKOrgeOHlTs775a3HlWX1D7k9M/qGaTlxV+Ij3YoUgxUQyv\nenfTAkhEBG2lA2XRVlxQqXflFtdwLs3gj0saWF2wFdhAznOiJr4KZDeiorYz\n00CGFUCrwVu253urveg6llgsKKyL2XodUoaHvYtracuhJ8Sly1jIAS7cgcjL\n3+udrwP7GolKCmrs0EftxA3hGKSTc9pkXLPf62adBtYiInmCIVXXmHnpwW/D\nPVNCq+HEQ4eaGCkICL29zX7i4sJtNyhOaa8urwa7TxDpnGQoqpC3OEC38FBi\nCASeTnW8sq/NEjZKvHknHwp89Syb6QIVcd26bEEdKi5fcenjTOGA/rIQv+Xa\nRJ6C\r\n=tWLE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG3aFZQO5xPgUhE2p4YBp/9VM92bM1m/Jk5uUuR1Z6dhAiAYudNVIhnyyARLrKQU6EZ7SLG5RExpHRZowAs6Xiltnw=="}]},"maintainers":[{"name":"brentvatne","email":"brentvatne@gmail.com"}],"_npmUser":{"name":"brentvatne","email":"brentvatne@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-appearance_0.2.3_1574879800658_0.47160877426915526"},"_hasShrinkwrap":false},"0.2.4":{"name":"react-native-appearance","version":"0.2.4","description":"Polyfill for `Appearance` API which will be available in `react-native@0.62`.","main":"src/index","module":"src/index","sideEffects":false,"nativePackage":true,"author":{"name":"Brent Vatne","email":"brent@expo.io"},"homepage":"https://github.com/expo/react-native-appearance#readme","license":"MIT","scripts":{"start":"react-native start","start:web":"expo start --web --config example/app.json","test":"yarn validate:prettier && yarn validate:eslint && yarn validate:typescript","validate:eslint":"eslint \"src/**/*.{js,ts,tsx}\" \"example/**/*.{js,ts,tsx}\"","validate:typescript":"tsc --project ./ --noEmit","validate:prettier":"prettier \"src/**/*.{js,ts,tsx}\" \"example/**/*.{js,ts,tsx}\" --check"},"keywords":["react-native","react native","react-native-web","expo-web","appearance"],"peerDependencies":{"react-native":">=0.59","react-native-web":">=0.11.7"},"dependencies":{"fbemitter":"^2.1.1","invariant":"^2.2.4","use-subscription":"^1.0.0"},"devDependencies":{"@react-native-community/eslint-config":"^0.0.5","@types/react-native":"^0.60.5","@typescript-eslint/eslint-plugin":"^1.7.0","@typescript-eslint/parser":"^1.7.0","@babel/core":"^7.0.0","eslint":"5.16.0","eslint-config-prettier":"^4.2.0","eslint-plugin-prettier":"3.0.1","expo":"^34.0.4","metro-react-native-babel-preset":"^0.55.0","prettier":"^1.18.2","react":"16.8.6","react-dom":"16.8.6","react-native":"~0.60.3","react-native-web":"^0.11.7","typescript":"^3.5.3"},"repository":{"type":"git","url":"git+https://github.com/expo/react-native-appearance.git"},"gitHead":"2377ffad0eccbe384c124c88dabafc7b6c75bfa3","bugs":{"url":"https://github.com/expo/react-native-appearance/issues"},"_id":"react-native-appearance@0.2.4","_nodeVersion":"12.3.1","_npmVersion":"6.12.1","dist":{"integrity":"sha512-zrf77mQrFHV6zlufGOa/4/1kn5jQX2po4wnNBcZLz/nbHk9NKLDwkYJafJDAK/lR2GPUi/cahHdhSOU/+gX2gg==","shasum":"e981f82ccc0132d095278845f3476ac985695fae","tarball":"https://registry.npmjs.org/react-native-appearance/-/react-native-appearance-0.2.4.tgz","fileCount":33,"unpackedSize":58294,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd3sJPCRA9TVsSAnZWagAAogoP/0VQcqra9PSKarwkRUaB\nK1mKsNO9IHRIPaRwXeEN0oV0cDzQdDnyGzsmGDskD829dfr3IowLdQMVXFWv\nRfzoNlJJCe9GSFg318emutOE1bRDLthfyvfkM+CwUOxfqtqVv5+hgq0ya9NG\nSTnZmoMtGMXi5kz5G3ZnxeasjROa1znV4xN2Ut7mSPXA4BghxV0icLL1Y+VY\ngGdVfm5Yj02YenTStZIu1T08xSaWXJnGFubAXp3H+hEoV5TkCVBHH8Ei/z1+\nj8zKJ5qRlMJo8PJA6EGEmC4DoQ5EG6G+H4JVrQ/77RS0jLGOF8AMYLBPHvWZ\nnK7KyxSJ98tUs0hCHYF+IlyG0oFsUQ++AXYDd9ZDD0wO38TMKJBzFkR/0e6c\nJXioA9qbElAhDfiDrIb1ds2LY2egXpmmcYWmBFy3OMRV253tx9JsmPVB87X1\n4qBY/17kebECBIXd0Z/xVWUtWZosXzMQNJxt587iwH5Q/fJeFxiQGBsC9gqn\nO5If9rXdDkdJCUG0M27aUI4uFA4n9MGnxZzthcnt88KEpd+BZv9pzIqziRs9\nlDTcRrkr5CPONLt8rQGPoFsLgTpqPpWedsS4TdRfW7qUKVNdfJQLu19Ha/NA\n+PQRfA4jkogGyB5CnNC+uvkAUSEfKpRMjvAZbh1UlLErxBEgyCiyBaSPnkMx\n34+F\r\n=Q/ZR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHbOBaWkYi6vOGJ7sSSmxwgmevtSM5GWnB10BNbLxNovAiEAn4iEyJEN43f80r7s8L7yQivcgQGrf8+idMCilOT2d3I="}]},"maintainers":[{"name":"brentvatne","email":"brentvatne@gmail.com"}],"_npmUser":{"name":"brentvatne","email":"brentvatne@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-appearance_0.2.4_1574879823326_0.34401906225003787"},"_hasShrinkwrap":false},"0.3.0-rc.0":{"name":"react-native-appearance","version":"0.3.0-rc.0","description":"Polyfill for `Appearance` API which will be available in `react-native@0.62`.","main":"lib/commonjs/index.js","module":"lib/module/index.js","react-native":"src/index.js","types":"lib/typescript/src/index.d.ts","sideEffects":false,"nativePackage":true,"author":{"name":"Brent Vatne","email":"brent@expo.io"},"homepage":"https://github.com/expo/react-native-appearance#readme","license":"MIT","scripts":{"prepare":"bob build","start":"react-native start","start:web":"expo start --web --config example/app.json","test":"yarn validate:prettier && yarn validate:eslint && yarn validate:typescript","validate:eslint":"eslint \"src/**/*.{js,ts,tsx}\" \"example/**/*.{js,ts,tsx}\"","validate:typescript":"tsc --project ./ --noEmit","validate:prettier":"prettier \"src/**/*.{js,ts,tsx}\" \"example/**/*.{js,ts,tsx}\" --check"},"jest":{"preset":"react-native","testEnvironment":"node","coveragePathIgnorePatterns":["jest-setup.js"],"modulePathIgnorePatterns":["<rootDir>/example/","<rootDir>/lib/"]},"@react-native-community/bob":{"source":"src","output":"lib","targets":["commonjs","module","typescript"]},"keywords":["react-native","react native","react-native-web","expo-web","appearance"],"dependencies":{"fbemitter":"^2.1.1","invariant":"^2.2.4","use-subscription":"^1.0.0"},"devDependencies":{"@babel/core":"^7.0.0","@react-native-community/bob":"^0.7.0","@react-native-community/eslint-config":"^0.0.5","@types/react-native":"^0.60.5","@typescript-eslint/eslint-plugin":"^1.7.0","@typescript-eslint/parser":"^1.7.0","eslint":"5.16.0","eslint-config-prettier":"^4.2.0","eslint-plugin-prettier":"3.0.1","expo":"^34.0.4","metro-react-native-babel-preset":"^0.55.0","prettier":"^1.18.2","react":"16.8.6","react-dom":"16.8.6","react-native":"~0.60.3","react-native-web":"^0.11.7","typescript":"^3.5.3"},"repository":{"type":"git","url":"git+https://github.com/expo/react-native-appearance.git"},"readme":"# react-native-appearance\n\nPolyfill for `Appearance` API to detect preferred color scheme (light/dark) in React Native 0.59, 0.60, and 0.61. The `Appearance` API will likely be available in `react-native@>=0.62`.\n\n## Installation\n\nInstallation instructions vary depending on whether you're using a managed Expo project or a bare React Native project.\n\n### Managed Expo project\n\nThis library is supported in Expo SDK 35+ (SDK 35 includes iOS support, SDK 36 and higher includes support for all platforms).\n\n```sh\nexpo install react-native-appearance\n```\n\n### Bare React Native project\n\n```sh\nyarn add react-native-appearance\n```\n\n## Linking\n\n> If you are not using AndroidX on your project already (this is the default on React Native 0.60+, but not on lower versions) you will want to use the `jetifier` npm package. Install the package with `yarn add -D jetifier` and then under `scripts` add `\"postinstall\": \"jetify -r\"`. Next run `yarn jetify`.\n\nAfter installing the package you need to link the native parts of the library for the platforms you are using. The easiest way to link the library is using the CLI tool by running this command from the root of your project:\n\n```sh\nreact-native link react-native-appearance\n```\n\nIf you can't or don't want to use the CLI tool, you can also manually link the library using the instructions below (click on the arrow to show them):\n\n<details>\n<summary>Manually link the library on iOS</summary>\n\nEither follow the [instructions in the React Native documentation](https://facebook.github.io/react-native/docs/linking-libraries-ios#manual-linking) to manually link the framework or link using [Cocoapods](https://cocoapods.org) by adding this to your `Podfile`:\n\n```ruby\npod 'react-native-appearance', :path => '../node_modules/react-native-appearance'\n```\n\n</details>\n\n<details>\n<summary>Manually link the library on Android</summary>\n\n1. Open up `android/app/src/main/java/[...]/MainApplication.java`\n\n- Add `import io.expo.appearance.RNCAppearancePackage;` to the imports at the top of the file\n- Add `new RNCAppearancePackage()` to the list returned by the `getPackages()` method\n\n2. Append the following lines to `android/settings.gradle`:\n\n```\ninclude ':react-native-appearance'\nproject(':react-native-appearance').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-appearance/android')\n\n```\n\n3. Insert the following lines inside the dependencies block in `android/app/build.gradle`:\n\n```\nimplementation project(':react-native-appearance')\n```\n\n</details>\n\n## Configuration\n\n<details>\n<summary>iOS configuration</summary>\n\nIn Expo managed projects, add `ios.userInterfaceStyle` to your `app.json`:\n\n```json\n{\n  \"expo\": {\n    \"ios\": {\n      \"userInterfaceStyle\": \"automatic\"\n    }\n  }\n}\n```\n\nIn bare React Native apps, you can configure supported styles with the [UIUserInterfaceStyle](https://developer.apple.com/documentation/bundleresources/information_property_list/uiuserinterfacestyle) key in your app `Info.plist`.\n\n</details>\n\n<details>\n<summary>Android configuration</summary>\n\nAdd the `uiMode` flag in `AndroidManifest.xml`:\n\n```xml\n<activity\n...\nandroid:configChanges=\"keyboard|keyboardHidden|orientation|screenSize|uiMode\">\n```\n\nImplement the `onConfigurationChanged` method in `MainActivity.java`:\n\n```java\nimport android.content.Intent; // <--- import\nimport android.content.res.Configuration; // <--- import\n\npublic class MainActivity extends ReactActivity {\n  ......\n\n  // copy these lines\n  @Override\n  public void onConfigurationChanged(Configuration newConfig) {\n    super.onConfigurationChanged(newConfig);\n    Intent intent = new Intent(\"onConfigurationChanged\");\n    intent.putExtra(\"newConfig\", newConfig);\n    sendBroadcast(intent);\n  }\n\n  ......\n}\n```\n\n</details>\n\n## Usage\n\nFirst, you need to wrap your app in the `AppearanceProvider`. At the root of your app, do the following:\n\n```js\nimport { AppearanceProvider } from 'react-native-appearance';\n\nexport default () => (\n  <AppearanceProvider>\n    <App />\n  </AppearanceProvider>\n);\n```\n\nNow you can use `Appearance` and `useColorScheme` anywhere in your app.\n\n```js\nimport { Appearance, useColorScheme } from 'react-native-appearance';\n\n/**\n * Get the current color scheme\n */\nAppearance.getColorScheme();\n\n/**\n * Subscribe to color scheme changes with a hook\n */\nfunction MyComponent() {\n  const colorScheme = useColorScheme();\n  if (colorScheme === 'dark') {\n    // render some dark thing\n  } else {\n    // render some light thing\n  }\n}\n\n/**\n * Subscribe to color scheme without a hook\n */\nconst subscription = Appearance.addChangeListener(({ colorScheme }) => {\n  // do something with color scheme\n});\n\n// Remove the subscription at some point\nsubscription.remove()\n```\n\n## Attribution\n\nThis was mostly written by Facebook for inclusion in React Native core. It is provided here as a separate module so people can opt-in to using it without updating entirely to the newest React Native version.\n","readmeFilename":"README.md","gitHead":"ede22978d5464305129d052cd066981205d419ee","bugs":{"url":"https://github.com/expo/react-native-appearance/issues"},"_id":"react-native-appearance@0.3.0-rc.0","_nodeVersion":"12.3.1","_npmVersion":"6.12.1","dist":{"integrity":"sha512-gVTDm77eXLpA+z9FA851t3QhVtE4bCaLTDVZB1zSAFX6gRimZiQSJcrsS11ZzeP4mUMB++nWePm2dSGGXutm3A==","shasum":"202b0e62389f0a234bfaea43585b42e096cd8d7d","tarball":"https://registry.npmjs.org/react-native-appearance/-/react-native-appearance-0.3.0-rc.0.tgz","fileCount":80,"unpackedSize":106412,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd3sXoCRA9TVsSAnZWagAAlq4P/jrIRqdEVjJqsAoe7o+O\nO6fpNMgPyInx82QzlitYGuFClLH+KcTIqYnf5JJ95AGA7pJ77DIsQ8DtpKNL\nCZPPthAWARGPrmXfqbZc11MBgeu1j8CxfRdvMalv5yIZCnUhI43JhyVRljdJ\n8/K26vrynTjuuRoOcORCpDl5nu70OQsV6EySMG5WYTfUjSxLbKn/+UN4a0Js\npMVHmDyjFbfeTw3gk/swQl2UwHJcEyjzdJn0ygcb8widTAu7Y/pErZQRwnNj\nbSi7B4DBw351A2vIzGVigmlWAsk54mC0TLkh06wnfHsYUCldqA0HdudNuKh6\nbxflC+maJzfdkKCjiTCtpjHF09/Umfmtlb/83JVb3wuruzf+5Io8/SXkq8UL\nfoVKVFGNMiU5hdPgD3wyFnrM2fXo67OKG+fHfBQZNvtGrRoAjz0W6+ROSBe2\ntEy6arql9/me6+XlvRZ1uxeeM023pLaPaCBDFw0LbjaZRc5mrrJnoOlyMF8Z\naoS+vcn8JdlytaI4fj7cTOKG4HfTesmix7UVu3I5VC11WQ/kPAY/QmKgX+Mn\nR2K33oMrQTTAWT64FjoPag69sctyQsIY86EpgteUa5bvNrSoht323vL7iTNH\ndXptbX1CYnwzYtldVXATgoBIZj11H1smeVTNLcGTsXmeiry6XC3EWi0ua9if\nKWkJ\r\n=Mxkn\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEgBywIIsLHwPVreq4hM84fJ5xspyb8IbAGwG6wHgI37AiEAplLaWns8kcZFT9e4CV6TxKGwkPmtQgn9Pm2sL5NWKXM="}]},"maintainers":[{"name":"brentvatne","email":"brentvatne@gmail.com"}],"_npmUser":{"name":"brentvatne","email":"brentvatne@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-appearance_0.3.0-rc.0_1574880743682_0.4951958947004229"},"_hasShrinkwrap":false},"0.3.0-rc.1":{"name":"react-native-appearance","version":"0.3.0-rc.1","description":"Polyfill for `Appearance` API which will be available in `react-native@0.62`.","main":"lib/commonjs/index.js","module":"lib/module/index.js","react-native":"src/index.js","types":"lib/typescript/index.d.ts","sideEffects":false,"nativePackage":true,"author":{"name":"Brent Vatne","email":"brent@expo.io"},"homepage":"https://github.com/expo/react-native-appearance#readme","license":"MIT","scripts":{"prepare":"bob build","start":"react-native start","start:web":"expo start --web --config example/app.json","test":"yarn validate:prettier && yarn validate:eslint && yarn validate:typescript","validate:eslint":"eslint \"src/**/*.{js,ts,tsx}\" \"example/**/*.{js,ts,tsx}\"","validate:typescript":"tsc --project ./ --noEmit","validate:prettier":"prettier \"src/**/*.{js,ts,tsx}\" \"example/**/*.{js,ts,tsx}\" --check"},"jest":{"preset":"react-native","testEnvironment":"node","coveragePathIgnorePatterns":["jest-setup.js"],"modulePathIgnorePatterns":["<rootDir>/example/","<rootDir>/lib/"]},"@react-native-community/bob":{"source":"src","output":"lib","targets":["commonjs","module","typescript"]},"keywords":["react-native","react native","react-native-web","expo-web","appearance"],"dependencies":{"fbemitter":"^2.1.1","invariant":"^2.2.4","use-subscription":"^1.0.0"},"devDependencies":{"@babel/core":"^7.0.0","@react-native-community/bob":"^0.7.0","@react-native-community/eslint-config":"^0.0.5","@types/react-native":"^0.60.5","@typescript-eslint/eslint-plugin":"^1.7.0","@typescript-eslint/parser":"^1.7.0","eslint":"5.16.0","eslint-config-prettier":"^4.2.0","eslint-plugin-prettier":"3.0.1","expo":"^34.0.4","metro-react-native-babel-preset":"^0.55.0","prettier":"^1.18.2","react":"16.8.6","react-dom":"16.8.6","react-native":"~0.60.3","react-native-web":"^0.11.7","typescript":"^3.5.3"},"repository":{"type":"git","url":"git+https://github.com/expo/react-native-appearance.git"},"readme":"# react-native-appearance\n\nPolyfill for `Appearance` API to detect preferred color scheme (light/dark) in React Native 0.59, 0.60, and 0.61. The `Appearance` API will likely be available in `react-native@>=0.62`.\n\n## Installation\n\nInstallation instructions vary depending on whether you're using a managed Expo project or a bare React Native project.\n\n### Managed Expo project\n\nThis library is supported in Expo SDK 35+ (SDK 35 includes iOS support, SDK 36 and higher includes support for all platforms).\n\n```sh\nexpo install react-native-appearance\n```\n\n### Bare React Native project\n\n```sh\nyarn add react-native-appearance\n```\n\n## Linking\n\n> If you are not using AndroidX on your project already (this is the default on React Native 0.60+, but not on lower versions) you will want to use the `jetifier` npm package. Install the package with `yarn add -D jetifier` and then under `scripts` add `\"postinstall\": \"jetify -r\"`. Next run `yarn jetify`.\n\nAfter installing the package you need to link the native parts of the library for the platforms you are using. The easiest way to link the library is using the CLI tool by running this command from the root of your project:\n\n```sh\nreact-native link react-native-appearance\n```\n\nIf you can't or don't want to use the CLI tool, you can also manually link the library using the instructions below (click on the arrow to show them):\n\n<details>\n<summary>Manually link the library on iOS</summary>\n\nEither follow the [instructions in the React Native documentation](https://facebook.github.io/react-native/docs/linking-libraries-ios#manual-linking) to manually link the framework or link using [Cocoapods](https://cocoapods.org) by adding this to your `Podfile`:\n\n```ruby\npod 'react-native-appearance', :path => '../node_modules/react-native-appearance'\n```\n\n</details>\n\n<details>\n<summary>Manually link the library on Android</summary>\n\n1. Open up `android/app/src/main/java/[...]/MainApplication.java`\n\n- Add `import io.expo.appearance.RNCAppearancePackage;` to the imports at the top of the file\n- Add `new RNCAppearancePackage()` to the list returned by the `getPackages()` method\n\n2. Append the following lines to `android/settings.gradle`:\n\n```\ninclude ':react-native-appearance'\nproject(':react-native-appearance').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-appearance/android')\n\n```\n\n3. Insert the following lines inside the dependencies block in `android/app/build.gradle`:\n\n```\nimplementation project(':react-native-appearance')\n```\n\n</details>\n\n## Configuration\n\n<details>\n<summary>iOS configuration</summary>\n\nIn Expo managed projects, add `ios.userInterfaceStyle` to your `app.json`:\n\n```json\n{\n  \"expo\": {\n    \"ios\": {\n      \"userInterfaceStyle\": \"automatic\"\n    }\n  }\n}\n```\n\nIn bare React Native apps, you can configure supported styles with the [UIUserInterfaceStyle](https://developer.apple.com/documentation/bundleresources/information_property_list/uiuserinterfacestyle) key in your app `Info.plist`.\n\n</details>\n\n<details>\n<summary>Android configuration</summary>\n\nAdd the `uiMode` flag in `AndroidManifest.xml`:\n\n```xml\n<activity\n...\nandroid:configChanges=\"keyboard|keyboardHidden|orientation|screenSize|uiMode\">\n```\n\nImplement the `onConfigurationChanged` method in `MainActivity.java`:\n\n```java\nimport android.content.Intent; // <--- import\nimport android.content.res.Configuration; // <--- import\n\npublic class MainActivity extends ReactActivity {\n  ......\n\n  // copy these lines\n  @Override\n  public void onConfigurationChanged(Configuration newConfig) {\n    super.onConfigurationChanged(newConfig);\n    Intent intent = new Intent(\"onConfigurationChanged\");\n    intent.putExtra(\"newConfig\", newConfig);\n    sendBroadcast(intent);\n  }\n\n  ......\n}\n```\n\n</details>\n\n## Usage\n\nFirst, you need to wrap your app in the `AppearanceProvider`. At the root of your app, do the following:\n\n```js\nimport { AppearanceProvider } from 'react-native-appearance';\n\nexport default () => (\n  <AppearanceProvider>\n    <App />\n  </AppearanceProvider>\n);\n```\n\nNow you can use `Appearance` and `useColorScheme` anywhere in your app.\n\n```js\nimport { Appearance, useColorScheme } from 'react-native-appearance';\n\n/**\n * Get the current color scheme\n */\nAppearance.getColorScheme();\n\n/**\n * Subscribe to color scheme changes with a hook\n */\nfunction MyComponent() {\n  const colorScheme = useColorScheme();\n  if (colorScheme === 'dark') {\n    // render some dark thing\n  } else {\n    // render some light thing\n  }\n}\n\n/**\n * Subscribe to color scheme without a hook\n */\nconst subscription = Appearance.addChangeListener(({ colorScheme }) => {\n  // do something with color scheme\n});\n\n// Remove the subscription at some point\nsubscription.remove()\n```\n\n## Attribution\n\nThis was mostly written by Facebook for inclusion in React Native core. It is provided here as a separate module so people can opt-in to using it without updating entirely to the newest React Native version.\n","readmeFilename":"README.md","gitHead":"ede22978d5464305129d052cd066981205d419ee","bugs":{"url":"https://github.com/expo/react-native-appearance/issues"},"_id":"react-native-appearance@0.3.0-rc.1","_nodeVersion":"12.3.1","_npmVersion":"6.12.1","dist":{"integrity":"sha512-S7RTIgv/dLDPyU4wjUnIAaG9JJGcvu3Hw05CIqYFBDFHPUpbWZWxYlffcpdI9iVT60r/V2PI8CwL0z35kzBj2w==","shasum":"bfad2bfc81d3a51a006cef6eabbc9cf8e981fec2","tarball":"https://registry.npmjs.org/react-native-appearance/-/react-native-appearance-0.3.0-rc.1.tgz","fileCount":80,"unpackedSize":106408,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd3sbACRA9TVsSAnZWagAAgdUP/3Zxt5CjK4R4YdN6jyjE\nePd6e88hvl/JFB2ufWRiynFev2qdJrF1Qz6BZxwEZFOMe2FOHMm7veZjzKKx\nyA4zL3CmkqPA2iTVuG3v4djTD70PcVuc08V+ywOlbRAOcFl2gSWwRS6iNigI\nf9L+umhGMh7XYLXkTv11jsCcOVo8Y3MIoK4DOnsE+CMq5EjbM5rWyF9u1z6i\nQUVSCG8qhzfau9lx9sZfx87WpRCpOr6KGyXYMsBT5IU9IVCaWvdLje8fVLLt\nS2UCKBV9KDEfsJwa65lsa7l+XrO+yZ3fo9zC5Hkoxczx4JiJroxNVpVB2o+c\nksJDdiOmhARbn+2AigcgPbqXjW0gf4HW5hE3MlG6kmrOQUPEbJuMKVVHFU6A\nF+TqDEa06U94cuEKz5kV3DiRqetDa3sFK0UEoZwX2nMV/8fUJCD5TmJCRYtk\nYx744H4C8B3e+KrE91cLJvRuEE1o8AIykGusbSiEKezQpYkZ460K6SVN9FqN\niZ/OycK0zUJL4GTaJoNFCrZmuXIYD8/ijWAsXT8iJ6cxwRoeyUuosFcmxSZZ\nNu6DMuVMsiYTMkFt/m/E/RAT6JuY5kF2uCcLr4HD8frTamb9npPb85js93Xb\nV7iEVjg7vrbUMwdR7yAaus8eAsTjpISnYtyl5cua0nRsnjFRQUmywmi/8hbF\nY9mo\r\n=ftBt\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDGIQrkeo7GxYr5hLuK7gsrREsBCqCrkppEhbhG7j6S0AIhAIUDCOqQViiycUzxtuF3mdQZl999WAw18usQSsos2OLX"}]},"maintainers":[{"name":"brentvatne","email":"brentvatne@gmail.com"}],"_npmUser":{"name":"brentvatne","email":"brentvatne@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-appearance_0.3.0-rc.1_1574880960426_0.6271372047810653"},"_hasShrinkwrap":false},"0.3.0-rc.2":{"name":"react-native-appearance","version":"0.3.0-rc.2","description":"Polyfill for `Appearance` API which will be available in `react-native@0.62`.","main":"lib/commonjs/index.js","module":"lib/module/index.js","react-native":"src/index.js","types":"lib/typescript/index.d.ts","sideEffects":false,"nativePackage":true,"author":{"name":"Brent Vatne","email":"brent@expo.io"},"homepage":"https://github.com/expo/react-native-appearance#readme","license":"MIT","scripts":{"prepare":"bob build","start":"react-native start","start:web":"expo start --web --config example/app.json","test":"yarn validate:prettier && yarn validate:eslint && yarn validate:typescript","validate:eslint":"eslint \"src/**/*.{js,ts,tsx}\" \"example/**/*.{js,ts,tsx}\"","validate:typescript":"tsc --project ./ --noEmit","validate:prettier":"prettier \"src/**/*.{js,ts,tsx}\" \"example/**/*.{js,ts,tsx}\" --check"},"jest":{"preset":"react-native","testEnvironment":"node","coveragePathIgnorePatterns":["jest-setup.js"],"modulePathIgnorePatterns":["<rootDir>/example/","<rootDir>/lib/"]},"@react-native-community/bob":{"source":"src","output":"lib","targets":["commonjs","module","typescript"]},"keywords":["react-native","react native","react-native-web","expo-web","appearance"],"dependencies":{"fbemitter":"^2.1.1","invariant":"^2.2.4","use-subscription":"^1.0.0"},"devDependencies":{"@babel/core":"^7.0.0","@react-native-community/bob":"^0.7.0","@react-native-community/eslint-config":"^0.0.5","@types/react-native":"^0.60.5","@typescript-eslint/eslint-plugin":"^1.7.0","@typescript-eslint/parser":"^1.7.0","eslint":"5.16.0","eslint-config-prettier":"^4.2.0","eslint-plugin-prettier":"3.0.1","expo":"^34.0.4","metro-react-native-babel-preset":"^0.55.0","prettier":"^1.18.2","react":"16.8.6","react-dom":"16.8.6","react-native":"~0.60.3","react-native-web":"^0.11.7","typescript":"^3.5.3"},"repository":{"type":"git","url":"git+https://github.com/expo/react-native-appearance.git"},"readme":"# react-native-appearance\n\nPolyfill for `Appearance` API to detect preferred color scheme (light/dark) in React Native 0.59, 0.60, and 0.61. The `Appearance` API will likely be available in `react-native@>=0.62`.\n\n## Installation\n\nInstallation instructions vary depending on whether you're using a managed Expo project or a bare React Native project.\n\n### Managed Expo project\n\nThis library is supported in Expo SDK 35+ (SDK 35 includes iOS support, SDK 36 and higher includes support for all platforms).\n\n```sh\nexpo install react-native-appearance\n```\n\n### Bare React Native project\n\n```sh\nyarn add react-native-appearance\n```\n\n## Linking\n\n> If you are not using AndroidX on your project already (this is the default on React Native 0.60+, but not on lower versions) you will want to use the `jetifier` npm package. Install the package with `yarn add -D jetifier` and then under `scripts` add `\"postinstall\": \"jetify -r\"`. Next run `yarn jetify`.\n\nAfter installing the package you need to link the native parts of the library for the platforms you are using. The easiest way to link the library is using the CLI tool by running this command from the root of your project:\n\n```sh\nreact-native link react-native-appearance\n```\n\nIf you can't or don't want to use the CLI tool, you can also manually link the library using the instructions below (click on the arrow to show them):\n\n<details>\n<summary>Manually link the library on iOS</summary>\n\nEither follow the [instructions in the React Native documentation](https://facebook.github.io/react-native/docs/linking-libraries-ios#manual-linking) to manually link the framework or link using [Cocoapods](https://cocoapods.org) by adding this to your `Podfile`:\n\n```ruby\npod 'react-native-appearance', :path => '../node_modules/react-native-appearance'\n```\n\n</details>\n\n<details>\n<summary>Manually link the library on Android</summary>\n\n1. Open up `android/app/src/main/java/[...]/MainApplication.java`\n\n- Add `import io.expo.appearance.RNCAppearancePackage;` to the imports at the top of the file\n- Add `new RNCAppearancePackage()` to the list returned by the `getPackages()` method\n\n2. Append the following lines to `android/settings.gradle`:\n\n```\ninclude ':react-native-appearance'\nproject(':react-native-appearance').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-appearance/android')\n\n```\n\n3. Insert the following lines inside the dependencies block in `android/app/build.gradle`:\n\n```\nimplementation project(':react-native-appearance')\n```\n\n</details>\n\n## Configuration\n\n<details>\n<summary>iOS configuration</summary>\n\nIn Expo managed projects, add `ios.userInterfaceStyle` to your `app.json`:\n\n```json\n{\n  \"expo\": {\n    \"ios\": {\n      \"userInterfaceStyle\": \"automatic\"\n    }\n  }\n}\n```\n\nIn bare React Native apps, you can configure supported styles with the [UIUserInterfaceStyle](https://developer.apple.com/documentation/bundleresources/information_property_list/uiuserinterfacestyle) key in your app `Info.plist`.\n\n</details>\n\n<details>\n<summary>Android configuration</summary>\n\nAdd the `uiMode` flag in `AndroidManifest.xml`:\n\n```xml\n<activity\n...\nandroid:configChanges=\"keyboard|keyboardHidden|orientation|screenSize|uiMode\">\n```\n\nImplement the `onConfigurationChanged` method in `MainActivity.java`:\n\n```java\nimport android.content.Intent; // <--- import\nimport android.content.res.Configuration; // <--- import\n\npublic class MainActivity extends ReactActivity {\n  ......\n\n  // copy these lines\n  @Override\n  public void onConfigurationChanged(Configuration newConfig) {\n    super.onConfigurationChanged(newConfig);\n    Intent intent = new Intent(\"onConfigurationChanged\");\n    intent.putExtra(\"newConfig\", newConfig);\n    sendBroadcast(intent);\n  }\n\n  ......\n}\n```\n\n</details>\n\n## Usage\n\nFirst, you need to wrap your app in the `AppearanceProvider`. At the root of your app, do the following:\n\n```js\nimport { AppearanceProvider } from 'react-native-appearance';\n\nexport default () => (\n  <AppearanceProvider>\n    <App />\n  </AppearanceProvider>\n);\n```\n\nNow you can use `Appearance` and `useColorScheme` anywhere in your app.\n\n```js\nimport { Appearance, useColorScheme } from 'react-native-appearance';\n\n/**\n * Get the current color scheme\n */\nAppearance.getColorScheme();\n\n/**\n * Subscribe to color scheme changes with a hook\n */\nfunction MyComponent() {\n  const colorScheme = useColorScheme();\n  if (colorScheme === 'dark') {\n    // render some dark thing\n  } else {\n    // render some light thing\n  }\n}\n\n/**\n * Subscribe to color scheme without a hook\n */\nconst subscription = Appearance.addChangeListener(({ colorScheme }) => {\n  // do something with color scheme\n});\n\n// Remove the subscription at some point\nsubscription.remove()\n```\n\n## Attribution\n\nThis was mostly written by Facebook for inclusion in React Native core. It is provided here as a separate module so people can opt-in to using it without updating entirely to the newest React Native version.\n","readmeFilename":"README.md","gitHead":"b31d238cd2dd4b333f758908a064cbee3406249a","bugs":{"url":"https://github.com/expo/react-native-appearance/issues"},"_id":"react-native-appearance@0.3.0-rc.2","_nodeVersion":"12.3.1","_npmVersion":"6.12.1","dist":{"integrity":"sha512-5coJsERLfyddkBhQfSGIwVkgQF4vIwqT+4t8Mwilz1iFP2rUq4z5J7r8T0dkjqio7wVB3bQtL2IjpuGNngPfZg==","shasum":"04c83e89b21add60ed6aaca089e82e4f8c4549f5","tarball":"https://registry.npmjs.org/react-native-appearance/-/react-native-appearance-0.3.0-rc.2.tgz","fileCount":68,"unpackedSize":99740,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd3slCCRA9TVsSAnZWagAAJJ0P/27C2797FnKJvqk9/5i6\nPpySoki4jbsNSBM6Au0EM4/khSqgoLYj//cEotDH8GZ/roSJonm2cGPuZgPJ\nLIJgE9xxm2sgrtv1GVhtvYtcFPwIgIul3msYq9lnHsGnClC/684v7qE8SwmB\nzfuaTYHR+KuOycENkSEDcxcuuoqMho9fryWOxgzIXWjzipPEFKYHVu+vED5D\n9lhjl3UfpkG8PAtrR+Jy9Y5frVF1DXKDI4Lp/dRdUU7Zg6DagA+Rhl/rGLPH\nh7Z/9P9TDaEEBxwsy95J8FgDrHtDUNLG+gOMFlayFgN6E98RgXObaRklAQPr\n1Ak2ipDlWus5aCyVR9UHt17gXtPRaYqnAARQzLJkp6gG2/4jE0zx7Uyxas6v\nXpLIQnzgM4/PTs+IxBphF3aa2fg4uZWCdS6Y59ZQZYj+psaVtZPi+W01wZAU\n2WFOHJM93cqnk0NJUYlUQnzRzdGoBAc089f0Jz5SsIlJ8dJGJybq6MqsMStK\n62k7aV6VuMlZI8Qvf9OE1K04C6tIbbICfRJ54O70gROsjI1mSJLevEvTwL6R\nqN66gIpvWo30/ZeHXnWLJZiGfX94iWxRjMAS9WGpLJOeRYPuwJYOPO+2i9gK\nJQaLso4bq6DllnlCYffb5i335pU6/X2tVKrmYu547VTWARuLCdcy/vRprI3e\n4jcB\r\n=0xD6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCkhddFr7H5+WtWxdJl1aG+VM5dCGIZ7PSMsfNJoPT7DQIhAJwMU/DxKGWBvK6d+KJ6Ha8b1qscQaMI2ku8hGHSAYQm"}]},"maintainers":[{"name":"brentvatne","email":"brentvatne@gmail.com"}],"_npmUser":{"name":"brentvatne","email":"brentvatne@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-appearance_0.3.0-rc.2_1574881602537_0.031525559340816356"},"_hasShrinkwrap":false},"0.3.0-rc.3":{"name":"react-native-appearance","version":"0.3.0-rc.3","description":"Polyfill for `Appearance` API which will be available in `react-native@0.62`.","main":"lib/commonjs/index.js","module":"lib/module/index.js","react-native":"src/index","types":"lib/typescript/index.d.ts","sideEffects":false,"nativePackage":true,"author":{"name":"Brent Vatne","email":"brent@expo.io"},"homepage":"https://github.com/expo/react-native-appearance#readme","license":"MIT","scripts":{"prepare":"bob build","start":"react-native start","start:web":"expo start --web --config example/app.json","test":"yarn validate:prettier && yarn validate:eslint && yarn validate:typescript","validate:eslint":"eslint \"src/**/*.{js,ts,tsx}\" \"example/**/*.{js,ts,tsx}\"","validate:typescript":"tsc --project ./ --noEmit","validate:prettier":"prettier \"src/**/*.{js,ts,tsx}\" \"example/**/*.{js,ts,tsx}\" --check"},"jest":{"preset":"react-native","testEnvironment":"node","coveragePathIgnorePatterns":["jest-setup.js"],"modulePathIgnorePatterns":["<rootDir>/example/","<rootDir>/lib/"]},"@react-native-community/bob":{"source":"src","output":"lib","targets":["commonjs","module","typescript"]},"keywords":["react-native","react native","react-native-web","expo-web","appearance"],"dependencies":{"fbemitter":"^2.1.1","invariant":"^2.2.4","use-subscription":"^1.0.0"},"devDependencies":{"@babel/core":"^7.0.0","@react-native-community/bob":"^0.7.0","@react-native-community/eslint-config":"^0.0.5","@types/react-native":"^0.60.5","@typescript-eslint/eslint-plugin":"^1.7.0","@typescript-eslint/parser":"^1.7.0","eslint":"5.16.0","eslint-config-prettier":"^4.2.0","eslint-plugin-prettier":"3.0.1","expo":"^34.0.4","metro-react-native-babel-preset":"^0.55.0","prettier":"^1.18.2","react":"16.8.6","react-dom":"16.8.6","react-native":"~0.60.3","react-native-web":"^0.11.7","typescript":"^3.5.3"},"repository":{"type":"git","url":"git+https://github.com/expo/react-native-appearance.git"},"readme":"# react-native-appearance\n\nPolyfill for `Appearance` API to detect preferred color scheme (light/dark) in React Native 0.59, 0.60, and 0.61. The `Appearance` API will likely be available in `react-native@>=0.62`.\n\n## Installation\n\nInstallation instructions vary depending on whether you're using a managed Expo project or a bare React Native project.\n\n### Managed Expo project\n\nThis library is supported in Expo SDK 35+ (SDK 35 includes iOS support, SDK 36 and higher includes support for all platforms).\n\n```sh\nexpo install react-native-appearance\n```\n\n### Bare React Native project\n\n```sh\nyarn add react-native-appearance\n```\n\n## Linking\n\n> If you are not using AndroidX on your project already (this is the default on React Native 0.60+, but not on lower versions) you will want to use the `jetifier` npm package. Install the package with `yarn add -D jetifier` and then under `scripts` add `\"postinstall\": \"jetify -r\"`. Next run `yarn jetify`.\n\nAfter installing the package you need to link the native parts of the library for the platforms you are using. The easiest way to link the library is using the CLI tool by running this command from the root of your project:\n\n```sh\nreact-native link react-native-appearance\n```\n\nIf you can't or don't want to use the CLI tool, you can also manually link the library using the instructions below (click on the arrow to show them):\n\n<details>\n<summary>Manually link the library on iOS</summary>\n\nEither follow the [instructions in the React Native documentation](https://facebook.github.io/react-native/docs/linking-libraries-ios#manual-linking) to manually link the framework or link using [Cocoapods](https://cocoapods.org) by adding this to your `Podfile`:\n\n```ruby\npod 'react-native-appearance', :path => '../node_modules/react-native-appearance'\n```\n\n</details>\n\n<details>\n<summary>Manually link the library on Android</summary>\n\n1. Open up `android/app/src/main/java/[...]/MainApplication.java`\n\n- Add `import io.expo.appearance.RNCAppearancePackage;` to the imports at the top of the file\n- Add `new RNCAppearancePackage()` to the list returned by the `getPackages()` method\n\n2. Append the following lines to `android/settings.gradle`:\n\n```\ninclude ':react-native-appearance'\nproject(':react-native-appearance').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-appearance/android')\n\n```\n\n3. Insert the following lines inside the dependencies block in `android/app/build.gradle`:\n\n```\nimplementation project(':react-native-appearance')\n```\n\n</details>\n\n## Configuration\n\n<details>\n<summary>iOS configuration</summary>\n\nIn Expo managed projects, add `ios.userInterfaceStyle` to your `app.json`:\n\n```json\n{\n  \"expo\": {\n    \"ios\": {\n      \"userInterfaceStyle\": \"automatic\"\n    }\n  }\n}\n```\n\nIn bare React Native apps, you can configure supported styles with the [UIUserInterfaceStyle](https://developer.apple.com/documentation/bundleresources/information_property_list/uiuserinterfacestyle) key in your app `Info.plist`.\n\n</details>\n\n<details>\n<summary>Android configuration</summary>\n\nAdd the `uiMode` flag in `AndroidManifest.xml`:\n\n```xml\n<activity\n...\nandroid:configChanges=\"keyboard|keyboardHidden|orientation|screenSize|uiMode\">\n```\n\nImplement the `onConfigurationChanged` method in `MainActivity.java`:\n\n```java\nimport android.content.Intent; // <--- import\nimport android.content.res.Configuration; // <--- import\n\npublic class MainActivity extends ReactActivity {\n  ......\n\n  // copy these lines\n  @Override\n  public void onConfigurationChanged(Configuration newConfig) {\n    super.onConfigurationChanged(newConfig);\n    Intent intent = new Intent(\"onConfigurationChanged\");\n    intent.putExtra(\"newConfig\", newConfig);\n    sendBroadcast(intent);\n  }\n\n  ......\n}\n```\n\n</details>\n\n## Usage\n\nFirst, you need to wrap your app in the `AppearanceProvider`. At the root of your app, do the following:\n\n```js\nimport { AppearanceProvider } from 'react-native-appearance';\n\nexport default () => (\n  <AppearanceProvider>\n    <App />\n  </AppearanceProvider>\n);\n```\n\nNow you can use `Appearance` and `useColorScheme` anywhere in your app.\n\n```js\nimport { Appearance, useColorScheme } from 'react-native-appearance';\n\n/**\n * Get the current color scheme\n */\nAppearance.getColorScheme();\n\n/**\n * Subscribe to color scheme changes with a hook\n */\nfunction MyComponent() {\n  const colorScheme = useColorScheme();\n  if (colorScheme === 'dark') {\n    // render some dark thing\n  } else {\n    // render some light thing\n  }\n}\n\n/**\n * Subscribe to color scheme without a hook\n */\nconst subscription = Appearance.addChangeListener(({ colorScheme }) => {\n  // do something with color scheme\n});\n\n// Remove the subscription at some point\nsubscription.remove()\n```\n\n## Attribution\n\nThis was mostly written by Facebook for inclusion in React Native core. It is provided here as a separate module so people can opt-in to using it without updating entirely to the newest React Native version.\n","readmeFilename":"README.md","gitHead":"b31d238cd2dd4b333f758908a064cbee3406249a","bugs":{"url":"https://github.com/expo/react-native-appearance/issues"},"_id":"react-native-appearance@0.3.0-rc.3","_nodeVersion":"12.3.1","_npmVersion":"6.12.1","dist":{"integrity":"sha512-jMhlqv9YvjsdlM688o7wlMX5tHjSBbTclXwl59UFUdOO8BwKocRJgixjYnheYR7SDERkeTJPqVmIRTCU7HRTUg==","shasum":"17ef3f259e72b7b13d1388583f8e9be591f0ef08","tarball":"https://registry.npmjs.org/react-native-appearance/-/react-native-appearance-0.3.0-rc.3.tgz","fileCount":68,"unpackedSize":99737,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd3stxCRA9TVsSAnZWagAASxsP/2ySaoILcy0fNbuWtBLo\njAuOgxh0IgKgZCEruQfwOpRRdb49kDwUDEsNMiWotLO9OuL6xXXqyxaNewWF\nQxYfoXG7I8BpSzp59Oc+Ra73SYFcTZ8I+26lkikOUjn3rw6KhulqycS2TdnB\n7gPp81lu8/Cayc9Y3mFPcz7tEiZp+PCEfFU+Q/MiqsL6GYvXgzkv/j95cZUx\neH6dwVcriWn9glMWyIDKG3ajNpjPaZ76rTbMTLH2aM8+KOM3QP7SV93ClWmC\nsxnSfhkyjT6QE4a2xXnE1nOY+fWt5Yd6Cpy+xwcrQVXM02zaJ+JEDyk+4SeF\nKXbrVzp0lnXLAvuu3ewTpZMMerGoInP55ijoGrn2DX84KpXJ6TK9cCk5394v\npL2qYMED3ohK79bs67ruW2sNvmO6pa3HpYc9YFLQJqtx560uHBKQLnga07fN\nHSB/TGGBzy0za5TRyRpNnnuMptqdLiqewZHvwXmr9adn3JqOlIJvFOzDhN91\ny3nozd9LYitFZCFGCPo16SYmwwtzLpG6CCqQCZoDisEKQK8ddLAuQiIY+HGN\nzrKYv0moaQijDumw8n0qRJlZHl/p9rRfT5IqokrL5f9dSW5i1RL4QkiOLsTC\narbgq1Vjopaavybz/GbWy/gGLJNK9RdnLCJN1BGTVYgaJwV+6t91YG7IMcGi\nBSOo\r\n=6c6+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDC+yxFheKack/LSvRcy0IWFfxUlymp1BrlrPNBgGiYZQIhAIom3z5fcHny9E+uS4a7rz+ZxqKZ67dgHF0xuG58rODN"}]},"maintainers":[{"name":"brentvatne","email":"brentvatne@gmail.com"}],"_npmUser":{"name":"brentvatne","email":"brentvatne@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-appearance_0.3.0-rc.3_1574882160516_0.07884785814881456"},"_hasShrinkwrap":false},"0.3.0":{"name":"react-native-appearance","version":"0.3.0","description":"Polyfill for `Appearance` API which will be available in `react-native@0.62`.","main":"lib/commonjs/index.js","module":"lib/module/index.js","react-native":"src/index","types":"lib/typescript/index.d.ts","sideEffects":false,"nativePackage":true,"author":{"name":"Brent Vatne","email":"brent@expo.io"},"homepage":"https://github.com/expo/react-native-appearance#readme","license":"MIT","scripts":{"prepare":"bob build","start":"react-native start","start:web":"expo start --web --config example/app.json","test":"yarn validate:prettier && yarn validate:eslint && yarn validate:typescript","validate:eslint":"eslint \"src/**/*.{js,ts,tsx}\" \"example/**/*.{js,ts,tsx}\"","validate:typescript":"tsc --project ./ --noEmit","validate:prettier":"prettier \"src/**/*.{js,ts,tsx}\" \"example/**/*.{js,ts,tsx}\" --check"},"jest":{"preset":"react-native","testEnvironment":"node","coveragePathIgnorePatterns":["jest-setup.js"],"modulePathIgnorePatterns":["<rootDir>/example/","<rootDir>/lib/"]},"@react-native-community/bob":{"source":"src","output":"lib","targets":["commonjs","module","typescript"]},"keywords":["react-native","react native","react-native-web","expo-web","appearance"],"dependencies":{"fbemitter":"^2.1.1","invariant":"^2.2.4","use-subscription":"^1.0.0"},"devDependencies":{"@babel/core":"^7.0.0","@react-native-community/bob":"^0.7.0","@react-native-community/eslint-config":"^0.0.5","@types/react-native":"^0.60.5","@typescript-eslint/eslint-plugin":"^1.7.0","@typescript-eslint/parser":"^1.7.0","eslint":"5.16.0","eslint-config-prettier":"^4.2.0","eslint-plugin-prettier":"3.0.1","expo":"^34.0.4","metro-react-native-babel-preset":"^0.55.0","prettier":"^1.18.2","react":"16.8.6","react-dom":"16.8.6","react-native":"~0.60.3","react-native-web":"^0.11.7","typescript":"^3.5.3"},"repository":{"type":"git","url":"git+https://github.com/expo/react-native-appearance.git"},"gitHead":"b31d238cd2dd4b333f758908a064cbee3406249a","bugs":{"url":"https://github.com/expo/react-native-appearance/issues"},"_id":"react-native-appearance@0.3.0","_nodeVersion":"12.3.1","_npmVersion":"6.12.1","dist":{"integrity":"sha512-Kx+gKFjoYYh/3XMMzxn0uwt03ngYfRSKQnFdUNAupgPbBB50bHxs8WzBmWNdLqjy3q9b7kE9r79FRmsmnBI+aQ==","shasum":"db3be9dfb276d3009f23dbbe0e4aeb4924fba453","tarball":"https://registry.npmjs.org/react-native-appearance/-/react-native-appearance-0.3.0.tgz","fileCount":68,"unpackedSize":99732,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd3svPCRA9TVsSAnZWagAAeFwP/0198QlV3ea1ag6RTjPV\nm9A8nQePccktRNtG861Vno01gWBJp8//zAPb1dm0l36wsPxbw9PgP9epGqYU\naveJw3nMsn+n7FLLlTxrn8/t444J98s7ycx6Bwscj6ghhsJiTJndk2NCo5yS\ncSUy5fg4hp75A+h36yC7ol1aQgl4sfl4O+7l2UmqB71l1ljZe4UUq5B18s2q\nKDYJOiIYZ861clsZgtkcgGVlRIKSAV0oMgHTwGObYwFTwgn7SOCiHDxtPy6o\n059pEM3yMSqfEaXpOGr6ff/jCeGSc6dQw0VS2Dt8r5AHARTfA/bQKWiL82Ss\naxhyFqj/E+yTA3LM2GWpMEIcCdh0QX7p7Ie9Pe+syd9YX8zYjJxQwsR4UBVY\nHG07EIP0rL1a6cbgDkAj5fCMsSV3Havja3SyMoIVTvvF3mT0TTDVjdnjlFaN\naOOFha4HXvGq86oB3n20m/W63/VDjgOx4k9SZFfh1Oh2no29WxdAPup8HJVU\nVfRoI5dGOgEouI8790Yr1Vzd3vv5EjgXGTYEVwt8WxElVVlevuJPrH+VHq2Q\nsez/85P3xhVV9oPk9deXvphLSfqT7jNxHrq64ebFnG1c0GTNdg4lqqi69GNw\nJAxytKRtL3vH5SYOv6wxL4FrOzxbNzczAeIT48VRFzwfcEh3px0DJfGUZ7eA\nWdJk\r\n=ZR9x\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH/DikZEntqeSWoWJqfHfphT1oTdZEPtfwlS9JUGvj8qAiBbNVsBtoMLHd1ob2T8lbtY+AQ0cuXh0G1UHYytUb+qZQ=="}]},"maintainers":[{"name":"brentvatne","email":"brentvatne@gmail.com"}],"_npmUser":{"name":"brentvatne","email":"brentvatne@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-appearance_0.3.0_1574882255002_0.8255893134746886"},"_hasShrinkwrap":false},"0.3.1":{"name":"react-native-appearance","version":"0.3.1","description":"Polyfill for `Appearance` API which will be available in `react-native@0.62`.","main":"lib/commonjs/index.js","module":"lib/module/index.js","react-native":"src/index","types":"lib/typescript/index.d.ts","sideEffects":false,"nativePackage":true,"author":{"name":"Brent Vatne","email":"brent@expo.io"},"homepage":"https://github.com/expo/react-native-appearance#readme","license":"MIT","scripts":{"prepare":"bob build","start":"react-native start","start:web":"expo start --web --config example/app.json","test":"yarn validate:prettier && yarn validate:eslint && yarn validate:typescript","validate:eslint":"eslint \"src/**/*.{js,ts,tsx}\" \"example/**/*.{js,ts,tsx}\"","validate:typescript":"tsc --project ./ --noEmit","validate:prettier":"prettier \"src/**/*.{js,ts,tsx}\" \"example/**/*.{js,ts,tsx}\" --check"},"jest":{"preset":"react-native","testEnvironment":"node","coveragePathIgnorePatterns":["jest-setup.js"],"modulePathIgnorePatterns":["<rootDir>/example/","<rootDir>/lib/"]},"@react-native-community/bob":{"source":"src","output":"lib","targets":["commonjs","module","typescript"]},"keywords":["react-native","react native","react-native-web","expo-web","appearance"],"dependencies":{"fbemitter":"^2.1.1","invariant":"^2.2.4","use-subscription":"^1.0.0"},"devDependencies":{"@babel/core":"^7.0.0","@react-native-community/bob":"^0.7.0","@react-native-community/eslint-config":"^0.0.5","@types/react-native":"^0.60.5","@typescript-eslint/eslint-plugin":"^1.7.0","@typescript-eslint/parser":"^1.7.0","eslint":"5.16.0","eslint-config-prettier":"^4.2.0","eslint-plugin-prettier":"3.0.1","expo":"^34.0.4","metro-react-native-babel-preset":"^0.55.0","prettier":"^1.18.2","react":"16.8.6","react-dom":"16.8.6","react-native":"~0.60.3","react-native-web":"^0.11.7","typescript":"^3.5.3"},"repository":{"type":"git","url":"git+https://github.com/expo/react-native-appearance.git"},"gitHead":"56aefa7f39ee0afd57f49655f89bc2c6d6483681","bugs":{"url":"https://github.com/expo/react-native-appearance/issues"},"_id":"react-native-appearance@0.3.1","_nodeVersion":"12.3.1","_npmVersion":"6.12.1","dist":{"integrity":"sha512-humg0ddjWjMfiSQCjsAcJk5o/jLJVy7aDEJuqN29ypQTfEfMKC3kVZP7dgb5lhAfJT3gquvDlT9IalZ2B7n6CQ==","shasum":"f8120222131767e9227c2c7ba3a9478f4c6a5ab7","tarball":"https://registry.npmjs.org/react-native-appearance/-/react-native-appearance-0.3.1.tgz","fileCount":68,"unpackedSize":99609,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd4B16CRA9TVsSAnZWagAA9SAP/2/H0ygRZqFRW6UOGa7/\nJNVI2MjDMmjwwvf2/UJOrsPHtI/0sU5ZxC9XH5mcfh3rJOGeMt/B+yL+SNPi\nf4soNvKj5qp4gU6VTtMWwYvk5orv/KMcNXMtb9EhQTYZ947ZzhGllRPbNLoE\nbjAvJ15aXu1c3+mlGlLo86WkUAxIOpNt/tugQOziE5EabcATZqgsqAGMsL3E\nJ2Hi4CYxxlu92uWsVxe3pI9rasSSB66bI5AomTFVaXmv2v80QgVW3a35Av0K\nNqEq0+KYxdM/q+s8dhcIO5fGLLDkh5z3WlMO2CqaagZ4BQaZ0+k0xJzFrLVG\nWVRlxFo4Rf9E/Vmq0xH5gVIF6XF18MAQ0l8RiLpKOvji1tizfkFzhu+wV9n/\n4NyCZHJS2hx2pKu4MNAO0nWbUZdgEa5yeNdDfc7cKOeQ/iiHrBssEdhZ5/uN\nIlfublBgR15QGVV7Z4e4rBiPoqQMCrUPQa96CXtGIdLuAtZGTVO5E7frqZQa\n1Xxnqn7FoFy6uYKtJXONrnYSOCYdgM1NWYFFLbZJImH1z13jSYxHCnp9es8a\nXgg/pBDZ+73CjNvb8hR8hYCurt2gJMAdjA7OcHYVwNz7wkDU7iyWsw99+vVo\nU5HCewF59VyteqGjrt1IAx04GZGZHd3RRJBbv1qxPMhRL1JRIzza3FxsrbFe\nb+UB\r\n=JvR9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAKviO5WM/+L6yQm6DY7xs0sgdgW7qiYoB1xlhE2aVi2AiEAnZmYQ8lAs9kM5u3r8d6g2lYuBQsgQKEM5+Av1pKlb0Q="}]},"maintainers":[{"name":"brentvatne","email":"brentvatne@gmail.com"}],"_npmUser":{"name":"brentvatne","email":"brentvatne@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-appearance_0.3.1_1574968697549_0.31900201438848685"},"_hasShrinkwrap":false},"0.3.2":{"name":"react-native-appearance","version":"0.3.2","description":"Polyfill for `Appearance` API which will be available in `react-native@0.62`.","main":"lib/commonjs/index.js","module":"lib/module/index.js","react-native":"src/index","types":"lib/typescript/index.d.ts","sideEffects":false,"nativePackage":true,"author":{"name":"Brent Vatne","email":"brent@expo.io"},"homepage":"https://github.com/expo/react-native-appearance#readme","license":"MIT","scripts":{"prepare":"bob build","start":"react-native start","start:web":"expo start --web --config example/app.json","test":"yarn validate:prettier && yarn validate:eslint && yarn validate:typescript","validate:eslint":"eslint \"src/**/*.{js,ts,tsx}\" \"example/**/*.{js,ts,tsx}\"","validate:typescript":"tsc --project ./ --noEmit","validate:prettier":"prettier \"src/**/*.{js,ts,tsx}\" \"example/**/*.{js,ts,tsx}\" --check"},"jest":{"preset":"react-native","testEnvironment":"node","coveragePathIgnorePatterns":["jest-setup.js"],"modulePathIgnorePatterns":["<rootDir>/example/","<rootDir>/lib/"]},"@react-native-community/bob":{"source":"src","output":"lib","targets":["commonjs","module","typescript"]},"keywords":["react-native","react native","react-native-web","expo-web","appearance"],"dependencies":{"fbemitter":"^2.1.1","invariant":"^2.2.4","use-subscription":"^1.0.0"},"devDependencies":{"@babel/core":"^7.0.0","@react-native-community/bob":"^0.7.0","@react-native-community/eslint-config":"^0.0.5","@types/react-native":"^0.60.5","@typescript-eslint/eslint-plugin":"^1.7.0","@typescript-eslint/parser":"^1.7.0","eslint":"5.16.0","eslint-config-prettier":"^4.2.0","eslint-plugin-prettier":"3.0.1","expo":"^34.0.4","metro-react-native-babel-preset":"^0.55.0","prettier":"^1.18.2","react":"16.8.6","react-dom":"16.8.6","react-native":"~0.60.3","react-native-web":"^0.11.7","typescript":"^3.5.3"},"repository":{"type":"git","url":"git+https://github.com/expo/react-native-appearance.git"},"gitHead":"0269248be545e58935137c44f36f1985224f0f83","bugs":{"url":"https://github.com/expo/react-native-appearance/issues"},"_id":"react-native-appearance@0.3.2","_nodeVersion":"12.3.1","_npmVersion":"6.12.1","dist":{"integrity":"sha512-4laRJovChQe5ualJczWoPyThOlYc0m2jmipdnrx34kAFzzk/JqYZwbkRE3uuLRNnPhaWWZZ8YlFhq0RNFB/G+A==","shasum":"e458e76917778eb1fcb8d17c09a78096115704c9","tarball":"https://registry.npmjs.org/react-native-appearance/-/react-native-appearance-0.3.2.tgz","fileCount":68,"unpackedSize":101618,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeD6GqCRA9TVsSAnZWagAA8lQQAKEEDJSMSVk0Jbvgd800\nwSkoaTnYsgXYElihf5YYewwaxCZaz56NUHADOWMwffSO3103eJpMCXDFl1C9\nELYZi+872RCkrcezZ68VW9gxOWJqAsSSrBuppYAK0rJ/lJBUfy9w8PF5QZjU\n/dyEiyu0jz+e2n3CDB2rrO0yWFSmkQ1pIelbuUVKh+I1pX6GWaY/yhrzrdJh\n6C+egrJHLuK7yF99ZsHiCB6KFVHLYj3Dv3lKMx6be7qgzzABTU/PcJVUR3nS\n/GzUWDi9ExRWpGUfmXBpDXtBTWF3OY6MQGeqmiX3PGE6VMy9z7A6ydf3RqX/\nWAJYRU56u1JpFvheWEJ7e0/uchyl6zdKzRDoBK5bPgbd6tm+4doFkNVXATbk\nBbwupdvr6XW/8BZZAYAlVr3a9KTSkstdoC/xz6TGQuiBvMKySeWl8cTZchM+\n+xRYAinQNG3MjPU3qJpdCgGz6vX+Cda1HXj+uGugEgKqAlFDOORLBjZ5l3AY\ndAHbLtNP45sr0GeYqHZWBuxi0IHgjpolpiSERsglcgw7DE5bmFd+/NAL/R17\nPdcnrDZTMTm1AtoedLorwa8O0w2sJqQOh5cAme27FOJ0hr3WYFTPEBdOZKP1\nm24F4USrk14iATLFkH5RF7DEbFBgQUi5GVpnW2YibXnhL0MVQ46HGKgotM2L\nUz/h\r\n=dOiV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAbA5rg+5Ks9ZylKOd3NnQSCV1Vb3u9BSd4q3iQstaWbAiEAyj+kVC5fd1d9j+wgbeWMEVzVgggFfmf4FruJ9yGgceQ="}]},"maintainers":[{"name":"brentvatne","email":"brentvatne@gmail.com"}],"_npmUser":{"name":"brentvatne","email":"brentvatne@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-appearance_0.3.2_1578082730391_0.10903435368121173"},"_hasShrinkwrap":false},"0.3.3":{"name":"react-native-appearance","version":"0.3.3","description":"Polyfill for `Appearance` API which will be available in `react-native@0.62`.","main":"lib/commonjs/index.js","module":"lib/module/index.js","react-native":"src/index","types":"lib/typescript/index.d.ts","sideEffects":false,"nativePackage":true,"author":{"name":"Brent Vatne","email":"brent@expo.io"},"homepage":"https://github.com/expo/react-native-appearance#readme","license":"MIT","scripts":{"prepare":"bob build","start":"react-native start","start:web":"expo start --web --config example/app.json","test":"yarn validate:prettier && yarn validate:eslint && yarn validate:typescript","validate:eslint":"eslint \"src/**/*.{js,ts,tsx}\" \"example/**/*.{js,ts,tsx}\"","validate:typescript":"tsc --project ./ --noEmit","validate:prettier":"prettier \"src/**/*.{js,ts,tsx}\" \"example/**/*.{js,ts,tsx}\" --check"},"jest":{"preset":"react-native","testEnvironment":"node","coveragePathIgnorePatterns":["jest-setup.js"],"modulePathIgnorePatterns":["<rootDir>/example/","<rootDir>/lib/"]},"@react-native-community/bob":{"source":"src","output":"lib","targets":["commonjs","module","typescript"]},"keywords":["react-native","react native","react-native-web","expo-web","appearance"],"dependencies":{"fbemitter":"^2.1.1","invariant":"^2.2.4","use-subscription":"^1.0.0"},"devDependencies":{"@babel/core":"^7.0.0","@react-native-community/bob":"^0.7.0","@react-native-community/eslint-config":"^0.0.5","@types/react-native":"^0.60.5","@typescript-eslint/eslint-plugin":"^1.7.0","@typescript-eslint/parser":"^1.7.0","eslint":"5.16.0","eslint-config-prettier":"^4.2.0","eslint-plugin-prettier":"3.0.1","expo":"^34.0.4","metro-react-native-babel-preset":"^0.55.0","prettier":"^1.18.2","react":"16.8.6","react-dom":"16.8.6","react-native":"~0.60.3","react-native-web":"^0.11.7","typescript":"^3.5.3"},"repository":{"type":"git","url":"git+https://github.com/expo/react-native-appearance.git"},"gitHead":"1c0609740fa6f7dd3fbc74c369cc1a25d0af870b","bugs":{"url":"https://github.com/expo/react-native-appearance/issues"},"_id":"react-native-appearance@0.3.3","_nodeVersion":"12.14.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-XETmdFGMH1j07mIrri74dG+qUvW/vme7SIZWbFup9Ra5p/eiEkl6kWbQljap4+G+PUIsPjU5OdbUaNz8Zs9DAg==","shasum":"7267eccbc7a0bc7ea743eecd85c68aabc37f81d4","tarball":"https://registry.npmjs.org/react-native-appearance/-/react-native-appearance-0.3.3.tgz","fileCount":68,"unpackedSize":102323,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeXVgTCRA9TVsSAnZWagAAcC8P/3DMyolZKmPO2fKNm4OQ\nJa9jR3VZcWmCYv/xwJRA3X7xZ5Bz2sTTFhPUDKp8jvctrtQZ57y4hgTTCc6I\nt75RHhglUSAoRhn1myoyehR2FN/+6z4Pdzz0OON8YFE1wn1s4HahVgqeO1yh\nl0KnVwC83PENN0awNoblNISWXOXSzGmnZ9f/hidoRVT5NZZXOou5V38p7Hyv\nETA/vWpNKZqkjG4ZmGOGaWKucz7kc4j55Dpm73Mbf9scAxsTxaklwwYxAdDI\n1N4hYGF4ADZNeOvSDN/0ihAaamzCT9zu3az9SiYNrNl78ZmcusDDHq6B9rEA\nuhsuBMKYy4oHcM5f66OoJh3hWjMwSq65ycqDOXeUdqTaN2OJW4QfpPlUoEU6\nxaMont30ZsoO15FQ8kp+/XOZ5lN6q0i7pfEkPcmjSsRuiL2aTponVC/+H6WE\noHgXRwH8OJGs3dkNdN+dwGPChZ1HPjZDbkjOVm8/VgNWY5YhWxOj8ZkB7KH1\nAeO9Q5ZLK5DfGdK3E1NCtGKmoVKiZdaMrZn8fZ8+xMRIakGQ/WOv48IuATba\nj+Hyp9Nd/EORJCkQ3GzxA819NzM8xFsj5mfoPrtyQlQ/wjU3p/wyVKIFBkf9\namVYCHPNstQBvbDxSI16IkpGXis9WNYH/W51aXLJSHCgA3/VoRZtY3Jq8/sH\nZZoo\r\n=+AaP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCqJfCFtRWizyISELnFrj4QrGKDBjqUfrG51fhkUBcESQIgTj/kcCWXpdprpP5p5QbkPYL7MnCaJGnXNbYDbbzQMX4="}]},"maintainers":[{"name":"brentvatne","email":"brentvatne@gmail.com"}],"_npmUser":{"name":"brentvatne","email":"brentvatne@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-appearance_0.3.3_1583175699053_0.8328221793157147"},"_hasShrinkwrap":false},"0.3.4":{"name":"react-native-appearance","version":"0.3.4","description":"Polyfill for `Appearance` API which will be available in `react-native@0.62`.","main":"lib/commonjs/index.js","module":"lib/module/index.js","react-native":"src/index","types":"lib/typescript/index.d.ts","sideEffects":false,"nativePackage":true,"author":{"name":"Brent Vatne","email":"brent@expo.io"},"homepage":"https://github.com/expo/react-native-appearance#readme","license":"MIT","scripts":{"prepare":"bob build","start":"react-native start","start:web":"expo start --web --config example/app.json","test":"yarn validate:prettier && yarn validate:eslint && yarn validate:typescript","validate:eslint":"eslint \"src/**/*.{js,ts,tsx}\" \"example/**/*.{js,ts,tsx}\"","validate:typescript":"tsc --project ./ --noEmit","validate:prettier":"prettier \"src/**/*.{js,ts,tsx}\" \"example/**/*.{js,ts,tsx}\" --check"},"jest":{"preset":"react-native","testEnvironment":"node","coveragePathIgnorePatterns":["jest-setup.js"],"modulePathIgnorePatterns":["<rootDir>/example/","<rootDir>/lib/"]},"@react-native-community/bob":{"source":"src","output":"lib","targets":["commonjs","module","typescript"]},"keywords":["react-native","react native","react-native-web","expo-web","appearance"],"dependencies":{"fbemitter":"^2.1.1","invariant":"^2.2.4","use-subscription":"^1.0.0"},"devDependencies":{"@babel/core":"^7.0.0","@react-native-community/bob":"^0.7.0","@react-native-community/eslint-config":"^0.0.5","@types/react-native":"^0.60.5","@typescript-eslint/eslint-plugin":"^1.7.0","@typescript-eslint/parser":"^1.7.0","eslint":"5.16.0","eslint-config-prettier":"^4.2.0","eslint-plugin-prettier":"3.0.1","expo":"^34.0.4","metro-react-native-babel-preset":"^0.55.0","prettier":"^1.18.2","react":"16.8.6","react-dom":"16.8.6","react-native":"~0.60.3","react-native-web":"^0.11.7","typescript":"^3.5.3"},"repository":{"type":"git","url":"git+https://github.com/expo/react-native-appearance.git"},"gitHead":"6ce5b8629b0b70d8774a220b3a358d74533e3ec7","bugs":{"url":"https://github.com/expo/react-native-appearance/issues"},"_id":"react-native-appearance@0.3.4","_nodeVersion":"12.16.1","_npmVersion":"6.13.4","dist":{"integrity":"sha512-Vz3zdJbAEiMDwuw6wH98TT1WVfBvWjvANutYtkIbl16KGRCigtSgt6IIiLsF3/TSS3y3FtHhWDelFeGw/rtuig==","shasum":"2cbcbc5142cdc1898c116684f519b16c879cbec2","tarball":"https://registry.npmjs.org/react-native-appearance/-/react-native-appearance-0.3.4.tgz","fileCount":66,"unpackedSize":90039,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJepM3jCRA9TVsSAnZWagAAeO0P/jwuWZC4RYdijTeMeu8B\nM75E0gxuHGnVLJleYywIKzGCwPwClRCHJxlpPlSkRVLLilU9drEwGEXEubfY\ngF/pRe88NGLyroX39OSz99m8V5rnShQmQUrGY5Tvnmz4gzf+eM79R3JAwDzz\nJ7i/nNGm5k+MWXacMBAMAUdSD5WNX67hehhoN8Mq0jQRu6VJzXGwnCdjoAYZ\nWNHPCZ/u0lxpoU3auqz8aSbb6vabF3yC+jcUeiAVAmDccgYF6yHF7ZMS2o9k\ngLdBHaNYrattpQik+i55jTR3uBaxfTKpU0myeWyGqv5up5hA2OR9uGcfFuuj\nV3xMKqysYQemQi1iwHkqh5P5fGOEd1zYED21w06BA5pQnn8KMsoQgCk9mqAc\nZEPMR/NoJicRurijQ8u7J/T32smgg5uR/1h3efwCo421jysjMKuboE+IlW0x\ndIKA4CxN1tdKA6oGAz5IRFbwocguhSLCdhfXc22PWdOeJDkrppU9w17vLGv8\nOC/Z8fdVyQCz+ynaOg9sp6MU27TBHCuIax5iUOq2XQAaXhF4fXTAzz7leQiL\n56H8A/ri9qOLCINIV3KmtDuqxkP9jVLyFZBpRC31lvKKVpSPoDrjutzY55zn\nL0gYAKSAEFwQ58mV7Hvd+mDiliX3pHVF8c94v9blPDuaZk46SS8nZTU+cS4L\nR4cn\r\n=BERt\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCYqEbwhaPLi1J1nT05Sv+gZ+g07BkfveS7LCzDpIAvagIgbYi431rNHfJS6Ij5yDA7SIApsj2jb9yNhiCSOpeUis4="}]},"maintainers":[{"name":"brentvatne","email":"brentvatne@gmail.com"}],"_npmUser":{"name":"brentvatne","email":"brentvatne@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-appearance_0.3.4_1587858914902_0.11068863345203472"},"_hasShrinkwrap":false}},"time":{"created":"2019-08-21T00:15:19.637Z","0.0.0":"2019-08-21T00:15:19.842Z","modified":"2022-05-14T15:43:22.991Z","0.0.1":"2019-08-23T00:32:33.779Z","0.0.2":"2019-08-23T00:34:33.794Z","0.0.3":"2019-08-23T01:06:32.659Z","0.0.4":"2019-08-23T18:13:19.202Z","0.0.5":"2019-08-23T23:35:02.856Z","0.0.6":"2019-08-24T00:43:39.075Z","0.0.7":"2019-08-24T01:14:53.869Z","0.0.8":"2019-08-28T00:50:40.816Z","0.1.0":"2019-09-11T22:50:42.539Z","0.2.0-rc.0":"2019-10-26T03:00:37.129Z","0.2.0":"2019-11-08T02:42:49.286Z","0.2.1":"2019-11-08T02:47:36.594Z","0.2.2":"2019-11-19T19:31:16.186Z","0.2.3":"2019-11-27T18:36:40.843Z","0.2.4":"2019-11-27T18:37:03.493Z","0.3.0-rc.0":"2019-11-27T18:52:23.788Z","0.3.0-rc.1":"2019-11-27T18:56:00.613Z","0.3.0-rc.2":"2019-11-27T19:06:42.655Z","0.3.0-rc.3":"2019-11-27T19:16:00.663Z","0.3.0":"2019-11-27T19:17:35.105Z","0.3.1":"2019-11-28T19:18:17.672Z","0.3.2":"2020-01-03T20:18:50.552Z","0.3.3":"2020-03-02T19:01:39.195Z","0.3.4":"2020-04-25T23:55:14.996Z"},"maintainers":[{"name":"brentvatne","email":"brentvatne@gmail.com"}],"license":"MIT","readme":"# react-native-appearance\n\nAccess operating system appearance information on iOS, Android, and web. Currently supports detecting preferred color scheme (light/dark).\n\n## Installation\n\nInstallation instructions vary depending on whether you're using a managed Expo project or a bare React Native project.\n\n### Managed Expo project\n\nThis library is supported in Expo SDK 35+ (SDK 35 includes iOS support, SDK 36 and higher includes support for all platforms).\n\n```sh\nexpo install react-native-appearance\n```\n\n> Android support and web support are available on SDK36+.\n\n### Bare React Native project\n\n```sh\nyarn add react-native-appearance\n```\n\n## Linking\n\n> If you are not using AndroidX on your project already (this is the default on React Native 0.60+, but not on lower versions) you will want to use the `jetifier` npm package. Install the package with `yarn add -D jetifier` and then under `scripts` add `\"postinstall\": \"jetify -r\"`. Next run `yarn jetify`.\n\nAfter installing the package you need to link the native parts of the library for the platforms you are using. The easiest way to link the library is using the CLI tool by running this command from the root of your project:\n\n```sh\nreact-native link react-native-appearance\n```\n\nIf you can't or don't want to use the CLI tool, you can also manually link the library using the instructions below (click on the arrow to show them):\n\n<details>\n<summary>Manually link the library on iOS</summary>\n\nEither follow the [instructions in the React Native documentation](https://facebook.github.io/react-native/docs/linking-libraries-ios#manual-linking) to manually link the framework or link using [Cocoapods](https://cocoapods.org) by adding this to your `Podfile`:\n\n```ruby\npod 'react-native-appearance', :path => '../node_modules/react-native-appearance'\n```\n\n</details>\n\n<details>\n<summary>Manually link the library on Android</summary>\n\n1. Open up `android/app/src/main/java/[...]/MainApplication.java`\n\n- Add `import io.expo.appearance.RNCAppearancePackage;` to the imports at the top of the file\n- Add `new RNCAppearancePackage()` to the list returned by the `getPackages()` method\n\n2. Append the following lines to `android/settings.gradle`:\n\n```\ninclude ':react-native-appearance'\nproject(':react-native-appearance').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-appearance/android')\n\n```\n\n3. Insert the following lines inside the dependencies block in `android/app/build.gradle`:\n\n```\nimplementation project(':react-native-appearance')\n```\n\n</details>\n\n## Configuration\n\n<details>\n<summary>iOS configuration</summary>\n\nIn Expo managed projects, add `ios.userInterfaceStyle` to your `app.json`:\n\n```json\n{\n  \"expo\": {\n    \"ios\": {\n      \"userInterfaceStyle\": \"automatic\"\n    }\n  }\n}\n```\n\nIn bare React Native apps, you can configure supported styles with the [UIUserInterfaceStyle](https://developer.apple.com/documentation/bundleresources/information_property_list/uiuserinterfacestyle) key in your app `Info.plist`.\n\n</details>\n\n<details>\n<summary>Android configuration</summary>\n\nAdd the `uiMode` flag in `AndroidManifest.xml`:\n\n```xml\n<activity\n...\nandroid:configChanges=\"keyboard|keyboardHidden|orientation|screenSize|uiMode\">\n```\n\nImplement the `onConfigurationChanged` method in `MainActivity.java`:\n\n```java\nimport android.content.Intent; // <--- import\nimport android.content.res.Configuration; // <--- import\n\npublic class MainActivity extends ReactActivity {\n  ......\n\n  // copy these lines\n  @Override\n  public void onConfigurationChanged(Configuration newConfig) {\n    super.onConfigurationChanged(newConfig);\n    Intent intent = new Intent(\"onConfigurationChanged\");\n    intent.putExtra(\"newConfig\", newConfig);\n    sendBroadcast(intent);\n  }\n\n  ......\n}\n```\n\n</details>\n\n## Usage\n\nFirst, you need to wrap your app in the `AppearanceProvider`. At the root of your app, do the following:\n\n```js\nimport { AppearanceProvider } from 'react-native-appearance';\n\nexport default () => (\n  <AppearanceProvider>\n    <App />\n  </AppearanceProvider>\n);\n```\n\nNow you can use `Appearance` and `useColorScheme` anywhere in your app.\n\n```js\nimport { Appearance, useColorScheme } from 'react-native-appearance';\n\n/**\n * Get the current color scheme\n */\nAppearance.getColorScheme();\n\n/**\n * Subscribe to color scheme changes with a hook\n */\nfunction MyComponent() {\n  const colorScheme = useColorScheme();\n  if (colorScheme === 'dark') {\n    // render some dark thing\n  } else {\n    // render some light thing\n  }\n}\n\n/**\n * Subscribe to color scheme without a hook\n */\nconst subscription = Appearance.addChangeListener(({ colorScheme }) => {\n  // do something with color scheme\n});\n\n// Remove the subscription at some point\nsubscription.remove()\n```\n\n## Attribution\n\nThis was mostly written by Facebook for inclusion in React Native core.\n","readmeFilename":"README.md","description":"Polyfill for `Appearance` API which will be available in `react-native@0.62`.","homepage":"https://github.com/expo/react-native-appearance#readme","keywords":["react-native","react native","react-native-web","expo-web","appearance"],"repository":{"type":"git","url":"git+https://github.com/expo/react-native-appearance.git"},"author":{"name":"Brent Vatne","email":"brent@expo.io"},"bugs":{"url":"https://github.com/expo/react-native-appearance/issues"}}