{"_id":"@crowdnautics/react-native-apple-search-ads-attribution","_rev":"2-e3b6e50c82c326993c9649a82795d26c","name":"@crowdnautics/react-native-apple-search-ads-attribution","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.1":{"name":"@crowdnautics/react-native-apple-search-ads-attribution","version":"1.0.1","description":"Reads Apple Search Ads Attribution API in iOS","main":"index.js","repository":{"type":"git","url":"git+https://github.com/jeremysandor/react-native-apple-search-ads-attribution.git"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["react-native","react-component","react-components","react","native","react-native","ios","component","apple","search","ads","attribution","API","iAd","attributionDetails"],"author":{"name":"Jeremy Sandor"},"license":"MIT","bugs":{"url":"https://github.com/jeremysandor/react-native-apple-search-ads-attribution/issues"},"homepage":"https://github.com/jeremysandor/react-native-apple-search-ads-attribution#readme","peerDependencies":{"react-native":"^0.61.5"},"gitHead":"dd0cd70feafb4b89b6e940534545acb86450a90a","_id":"@crowdnautics/react-native-apple-search-ads-attribution@1.0.1","_nodeVersion":"10.19.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-iMEvu0chK5YLer7+sdg0GJ5/4tUe1AfeAGoiGf1UBpYC//103j9f9vvXg5jOCoOnBhjJpGnYYQmmZupIEv36zQ==","shasum":"c5bc7b08a59c08e09d275c2171467c37d04c7b38","tarball":"https://registry.npmjs.org/@crowdnautics/react-native-apple-search-ads-attribution/-/react-native-apple-search-ads-attribution-1.0.1.tgz","fileCount":8,"unpackedSize":14796,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfys0nCRA9TVsSAnZWagAAEn4P/jufpEyIamzUcVRKvJZL\nMDVonH25Rvk04hAILR3lRQZ+/bNWxU2rVoPzG8KAn/HQouvPB0zDf4LGj1E6\n0VgAs0WYx3nED9sWscB7sUoNsU2M6VVUyvgmBDdwhRZLkSLmu9q2JJXrdQ01\niwlZ1co2do0EZ6UzNMC1bA7glI9MltRliQms/wCp28YITkfmN7doT3l1qV99\nIEBkrpLgoDMwx3dfg9X3vvr1nivtSXDk5FeLyD+GQqDADEKo6CdxmSgkwQ3e\noEiPKyKigE2Eo8PPXH6qVd9G88NAR2eU9lW6IMUhaJ5VS9F1q29B42wg/Utm\nZ4uFmGARuEtyodRPDwJko4Wka5+SVZFrEJA19Pit+wl/N27/IlCImjrlmNGA\nMCFLHiEBpPMJ07ErE9d9Haos/ZCAwvay+vKgqec0tqh84ZOZ0y/0T/qlEBDm\nN9gKZB8sIyUMevrr32xOVBCiG18rjpH7mKAQxWddm6dSgiy7l11vQsx4Egee\nPuRAItEqQWk5nNpkMqym+k//rKaPXAO2DJn0A+Eq8IMXA8nmxKTjb2CK4RF1\nYzvpATWzxQUvu4d909cTkL7U61m7fb/yk/UeAT9I2acl+OVEH45d01qVOydd\nucMk6PIEqtmqhuRwx+cCUGS/GWOeX1NPhwT9L8VB2FVmjwkHFAuTdSeglUbM\nwg4C\r\n=vVuH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDHpA755ecfcJMNiL3VCRnsotPqhqPWOzggoI97c9pAmAIhAMxqOzW3+KbW0kqdWic0sx5fy7b3y71MrbOhTWB6eR7G"}]},"_npmUser":{"name":"jeremysandor","email":"jeremy.r.sandor@gmail.com"},"directories":{},"maintainers":[{"name":"jeremysandor","email":"jeremy.r.sandor@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-apple-search-ads-attribution_1.0.1_1607126310554_0.6210465929470659"},"_hasShrinkwrap":false},"1.0.2":{"name":"@crowdnautics/react-native-apple-search-ads-attribution","version":"1.0.2","description":"Reads Apple Search Ads Attribution API in iOS","main":"index.js","repository":{"type":"git","url":"git+https://github.com/jeremysandor/react-native-apple-search-ads-attribution.git"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["react-native","react-component","react-components","react","native","react-native","ios","component","apple","search","ads","attribution","API","iAd","attributionDetails"],"author":{"name":"Jeremy Sandor"},"license":"MIT","bugs":{"url":"https://github.com/jeremysandor/react-native-apple-search-ads-attribution/issues"},"homepage":"https://github.com/jeremysandor/react-native-apple-search-ads-attribution#readme","peerDependencies":{"react-native":"^0.61.5"},"gitHead":"392d15bae859d5028b23c22e9178bcc7b201d07b","_id":"@crowdnautics/react-native-apple-search-ads-attribution@1.0.2","_nodeVersion":"10.19.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-AjVHFajfZk35d/c3oHr/6IPI73u6D4GxdtwF4rJQ4IW8rhiP/7yRjiA0gR/k5HnSQNsxb0jzBacOCc7d3vW55g==","shasum":"eb6d3dee4356146a6477a7f585171757ce27d226","tarball":"https://registry.npmjs.org/@crowdnautics/react-native-apple-search-ads-attribution/-/react-native-apple-search-ads-attribution-1.0.2.tgz","fileCount":8,"unpackedSize":13414,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfzRm2CRA9TVsSAnZWagAAT68P/jepWI0OMyG0gHARfy3m\nqh3wQvD2JBA3kdNPIPdJ7L726gdhnfqXj7B92CS8kFIxm7v3mN9OVt50ybPr\n33dnFkJjAGKB+qNLcWvBtuV6EEMgodNN2+tNz1c8XaQiNGhbZIYRz2MVGqFV\nTpufLWWF91RAYGyUA+OWnaM0p6a7BXKVTPQ8gh9SGmgAtHV3ruuZ6m/HHa25\nXeiGC1nLX1GDQC3o8zBr6r8u7p4PjUjdQu86Dpu9G6P83P9qtjJ9EQXMG8MD\n8LbIFWT6Va721hTirNnTNusySg7YQaXegN2s2WQQ/8t0gmHeagfmgctx1zZ8\nVuQr13plZqLqRUFXuEXYMKi6EFPutiRyFEizEgFoBauMtEWxL9VSrTglGdS3\n9KvTBTRDqurSlf6A6UHgD1lONqTzDcp4P2FeliHwVQf5QLx/6LbGOYjID2Az\nLyK/NF+v2HI1UxKL5MbTCu2yH2exhb3x6gqE6tAbVpJAaZJbj2qAUABOWzC3\nk9LoZ0ZBhtB8nKwzLFCdbzuxDClKdnABOBYYWqSJcezFVqZ+52QWviNEVLwP\n80stEi2qOlNCLgenrTj7wjzaIQC0twa5T/gchfV+8RzMEtphUFHGDKsmNgXX\nZ/m+ptCC6W9Rgu8GFb1Lc4b2UQyVoH4lbpuv03Ds3oe9oFpZRAUKx/0+y7A1\n747C\r\n=yYtU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD12Y96OMCSNgOeYtyH7dxG5+pojlYZzo0ApMwfPmpunQIgOOCfXVctY+jjiYEkVgfHVbpq6ZNzMZBcWlI7A77P0Jo="}]},"_npmUser":{"name":"jeremysandor","email":"jeremy.r.sandor@gmail.com"},"directories":{},"maintainers":[{"name":"jeremysandor","email":"jeremy.r.sandor@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-apple-search-ads-attribution_1.0.2_1607276981549_0.5613383409282395"},"_hasShrinkwrap":false}},"time":{"created":"2020-12-04T23:58:30.236Z","1.0.1":"2020-12-04T23:58:30.700Z","modified":"2022-04-05T01:56:17.679Z","1.0.2":"2020-12-06T17:49:41.707Z"},"maintainers":[{"name":"jeremysandor","email":"jeremy.r.sandor@gmail.com"}],"description":"Reads Apple Search Ads Attribution API in iOS","homepage":"https://github.com/jeremysandor/react-native-apple-search-ads-attribution#readme","keywords":["react-native","react-component","react-components","react","native","react-native","ios","component","apple","search","ads","attribution","API","iAd","attributionDetails"],"repository":{"type":"git","url":"git+https://github.com/jeremysandor/react-native-apple-search-ads-attribution.git"},"author":{"name":"Jeremy Sandor"},"bugs":{"url":"https://github.com/jeremysandor/react-native-apple-search-ads-attribution/issues"},"license":"MIT","readme":"\n# Apple Search Ads Attribution API for React Native\n\n## Requirements\n- iAd Framework\n\n## Getting started\n`$ yarn add @crowdnautics/react-native-apple-search-ads-attribution`\n\n### Additional Required Manual installation\n#### iOS\n\n1. In XCode, [follow the instructions](https://searchads.apple.com/v/advanced/help/pdf/attribution-api.pdf) to add the iAd framework\n2. Add the line `pod 'RNAppleAdsAttribution', :path => '../node_modules/@crowdnautics/react-native-apple-search-ads-attribution/RNAppleAdsAttribution.podspec'` to your Podfile\n3. `cd ios && pod install && cd ..`\n4. Run your project\n\n## Usage\n```javascript\nimport AppleAdsAttribution from '@crowdnautics/react-native-apple-search-ads-attribution'; \n\nlet attributionData = AppleAdsAttribution.getAttributionData();\n```\n\n## Documentation\n\n#### getAttributionData()\nGets install attribution data from the Apple Search Ads Attribution API.\n\n##### Examples\n```javascript\nAppleAdsAttribution.getAttributionData().then(attributionData => {\n  console.log(attributionData);\n\n  // {\n  //   “Version3.1”: {\n  //   “iad-attribution”: true,\n  //   “iad-org-name”: “Light Right”,\n  //   “iad-campaign-id”: 15292426,\n  //   “iad-campaign-name”: “Light Bright Launch”,\n  //   “iad-purchase-date”: “2016-10-14T17:18:07Z”,\n  //   “iad-conversion-date”: “2016-10-14T17:18:07Z”,\n  //   “iad-conversion-type”: “Download”,\n  //   “iad-click-date”: “2016-10-14T17:17:00Z”,\n  //   “iad-adgroup-id”: 15307675,\n  //   “iad-adgroup-name”: “LightRight Launch Group”,\n  //   “iad-keyword”: “light right”,\n  //   “iad-keyword-matchtype”: “Broad”\n  //   }\n});\n```\n\n##### Notes\n> If you receive an empty object, wait a few seconds and try again\n\n> Test values (mirroring the example above) will be sent when using a iOS simulator\n\n","readmeFilename":"README.md"}