{"_id":"@appsflyer-test-2modes/strict","_rev":"2-697008b5b5db8243f105db7254e14ce3","name":"@appsflyer-test-2modes/strict","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"@appsflyer-test-2modes/strict","version":"1.0.0","description":"<img src=\"https://www.appsflyer.com/wp-content/uploads/2016/11/logo-1.svg\"  width=\"450\">","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":"","license":"ISC","repository":{"type":"git","url":"https://github.com/amit-kremer93/appsflyer-test-2modes/tree/master/strict"},"_id":"@appsflyer-test-2modes/strict@1.0.0","_nodeVersion":"15.12.0","_npmVersion":"6.14.11","dist":{"integrity":"sha512-Iq+EESinznm/3pUg+BX0Ypt7g2pg3UxsBYr0Qquzj+YZt/b0a1WFJwhO/AywFoSLWWUCs8IAHme33EPgRNvKvw==","shasum":"d3405364558984a40e1172dd1bdc71ef90ff1826","tarball":"https://registry.npmjs.org/@appsflyer-test-2modes/strict/-/strict-1.0.0.tgz","fileCount":37,"unpackedSize":220858,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgr1MKCRA9TVsSAnZWagAAZpQP/RmxR3tv9eiYw7nNYV8C\niI2sux5GkOVLPj+F9tgFQ+pO+I3bsWuygyjtDNSVFoWE9BoNxXf6PMUpv9pf\n2tR0M9zySav09dv8nIQFSgXMFpQcS9EXpW2aGdcPtyWj4u2IJ5w2nY1ixjXX\nmZoprz24mZjwRsTtlu/impIpQiBHaAi8bONMra1bv0ZT0RmTs/rE8X4hrESd\nFWHMmJJgiDgLOEbrSZweROp0Ds0wy1ROMM3MoEM8O6JZ1QdIJUqDX2ihRzQM\nQhLsgijUmgra1SLw0KnZCuFLWgYYKeGjQ6VVMOaAnVHRh3qxlBa5X1yjdBS6\n1+IgSxngbnAobay8sa5sXU+wBNd3THo82KjuAz7UUPqrBSgSqDtemHhVRh7k\nB74U3u9bICb/NABxux9a3eH/192r9EcGgtheqJIZqNVfNIm6uK0FLEVyae/o\nLYKK1vNftxpdcE2rTBijrVAIID7eSSFk72SrkBYzmRUKFLEkPkabDuvuXC2/\n9soRBn7oE0agD/PyDdpCfnxUtIQWMAT8BecUQzLKO5ioky87CCzWR4XfCh3s\nR5K8QhZWyZonw2opiOe+uEwzK2wEXW5fwWeCw1HfbG8H3IGBUp5HRngI48zG\njKgTGrDVsvp6fJ/UD35Aoeta5Nf8W8YiVytM3ITjINne7LslPMw6ElYJjGNs\nI8tM\r\n=+n0Y\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCJG+gBJEo/2j6JoB75nCV/FsLk8iGpTHZOt7LMb/lklgIgRyMu6DsN1f2PNQ2tveSLxuOdT+1ZiBIqOsP7BEktlPE="}]},"_npmUser":{"name":"amit-kremer93","email":"amit.kremer@appsflyer.com"},"directories":{},"maintainers":[{"name":"amit-kremer93","email":"amit.kremer@appsflyer.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/strict_1.0.0_1622102793729_0.8160902605548954"},"_hasShrinkwrap":false},"1.0.1":{"name":"@appsflyer-test-2modes/strict","version":"1.0.1","description":"<img src=\"https://www.appsflyer.com/wp-content/uploads/2016/11/logo-1.svg\"  width=\"450\">","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":"","license":"ISC","repository":{"type":"git","url":"https://github.com/amit-kremer93/appsflyer-test-2modes/tree/master/strict"},"homepage":"https://github.com/amit-kremer93/appsflyer-test-2modes/tree/master/main","_id":"@appsflyer-test-2modes/strict@1.0.1","_nodeVersion":"15.12.0","_npmVersion":"6.14.11","dist":{"integrity":"sha512-62zzR3Uof57tjerGz2RASsjLsi4n0zrW6QOzU8v8lvjq5kL+MkcdgBbhOpgruyk6OdEtVi9Mib7AY6W7pDiWcQ==","shasum":"6f907f1bb6cdf2cc3177a832cc59dc995b08e234","tarball":"https://registry.npmjs.org/@appsflyer-test-2modes/strict/-/strict-1.0.1.tgz","fileCount":37,"unpackedSize":220975,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgr16jCRA9TVsSAnZWagAAvWwP/1Mu44LF7Vd+q5QXEGo9\nDW4vKsXeKAa69cfwN9JhQveYdPwPAYZA6/TyjRkIqoi1Z+uUbMqyg1Mc0CaN\nyQNUqr2hmC8EvIkXdN6ivR46NH37Z8YYrKcnP9DCd7OYnPIcK57SI5f2V7zP\nizQZX5QZMzVRaGAJxE+3tJSQwVd+VZZvvMFinm27K4NhvAdHc58E0UqtM8tr\nfFSwUMVzsKvCE0aPKS5T+botFlim0XJrAdKhUGBNlSsgz3mTyukJtNaGHezV\nk8wcLSBv21abZ8l6ontXl2sMsaukyOPVUtWjKQQWPiRlSsecJ5yzdkdwlelB\nfCq9vfFhU2n8tLAjy8WxpPuE9WwNe2yWZ8Qz24TkkHtOSZ4zFZEuupuG/RDf\noVAd79D0rwIG4b/1HL0zyMTQvYfwCUANWTu1J99rPQNEwMqg2/7mecvXOoYv\nmmk/mcQ855dYM1I1mJJz/FvZ3cGD9oufFXxVzomiH5rV/u6wFtIOZefaVUXC\ng+5cyaMtH5+tofp6bWrAKYu6D9tPtFUjRswdBZgt7akySMjf9CTtfwtJI3MJ\nmIW3QqskuWwUFBM3lYmwlmeFB5kHd8ugg5pz6k032fwy6UzOLIjEd9KcrAgD\ncPIRZMLxz/qU+IlScHF4XGuKnWjzZRFwEJrRyR+FdQRUYKE/PuuYb9kQY+yO\nvpty\r\n=/9H3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC+RcT1FmtHoO+DMhCeIIoI6UVk/f+LIwUfNFBVWqHgfAIhAMRgIomt+MgSgnuL07eWazAnwScZ46Q6cjFCKHBTuPf/"}]},"_npmUser":{"name":"amit-kremer93","email":"amit.kremer@appsflyer.com"},"directories":{},"maintainers":[{"name":"amit-kremer93","email":"amit.kremer@appsflyer.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/strict_1.0.1_1622105763053_0.4720827227358577"},"_hasShrinkwrap":false}},"time":{"created":"2021-05-27T08:06:33.343Z","1.0.0":"2021-05-27T08:06:33.956Z","modified":"2022-04-04T15:04:41.451Z","1.0.1":"2021-05-27T08:56:03.196Z"},"maintainers":[{"name":"amit-kremer93","email":"amit.kremer@appsflyer.com"}],"description":"<img src=\"https://www.appsflyer.com/wp-content/uploads/2016/11/logo-1.svg\"  width=\"450\">","repository":{"type":"git","url":"https://github.com/amit-kremer93/appsflyer-test-2modes/tree/master/strict"},"license":"ISC","readme":"\n<img src=\"https://www.appsflyer.com/wp-content/uploads/2016/11/logo-1.svg\"  width=\"450\">\n\n# React Native AppsFlyer plugin for Android and iOS - Strict.\n\n🛠 In order for us to provide optimal support, we would kindly ask you to submit any issues to support@appsflyer.com\n\n*When submitting an issue please specify your AppsFlyer sign-up (account) email , your app ID , production steps, logs, code snippets and any additional relevant information.*\n\n[![npm version](https://badge.fury.io/js/react-native-appsflyer.svg)](https://badge.fury.io/js/react-native-appsflyer) \n[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT) \n[![Downloads](https://img.shields.io/npm/dm/react-native-appsflyer.svg)](https://www.npmjs.com/package/react-native-appsflyer)\n## Table of content\n\n- [Breaking changes](#breaking-changes)\n- [Adding the SDK to your project](#installation)\n- [Add or Remove Strict mode for App-kids](#appKids)\n- [Initializing the SDK](#init-sdk)\n- [Guides](#guides)\n- [API](#api) \n  \n### <a id=\"plugin-build-for\"> This plugin is built for\n\n- iOS AppsFlyerSDK **v6.3.0**\n- Android AppsFlyerSDK **v6.3.0**\n\n## <a id=\"breaking-changes\"> ❗ Breaking Changes\n\n- From version `6.3.0`, we use `xcframework` for iOS platform, then you need to use cocoapods version >= 1.10\n\n- From version `6.2.30`, `logCrossPromotionAndOpenStore`  api will register as `af_cross_promotion` instead of `af_app_invites` in your dashboard.<br>\nClick on a link that was generated using `generateInviteLink` api will be register as `af_app_invites`.\n\n- We have renamed the following APIs:\n\n| Old API                       | New API                       |\n| ------------------------------|-------------------------------|\n| trackEvent                    | logEvent                      |\n| trackLocation                 | logLocation                   |\n| stopTracking                  | stop                          |\n| trackCrossPromotionImpression | logCrossPromotionImpression   |\n| trackAndOpenStore             | logCrossPromotionAndOpenStore |\n| setDeviceTrackingDisabled     | anonymizeUser                 |\n| AppsFlyerTracker    | AppsFlyerLib                 |\n\nAnd removed the following ones:\n\n- trackAppLaunch -> no longer needed. See new init guide\n- sendDeepLinkData -> no longer needed. See new init guide\n- enableUninstallTracking -> no longer needed. See new uninstall measurement guide\n\nIf you have used 1 of the removed APIs, please check the integration guide for the updated instructions\n\n## <a id=\"installation\"> 📲 Adding the SDK to your project\n\n**Production** version from npm: \n```\n$ npm install react-native-appsflyer --save\n```\n\nThen run the following:\n\n*iOS*\n```\n$ cd ios && pod install\n$ react-native run-ios\n```\n\n*Android*\n```\n$ react-native run-android\n```\n\n> Starting from RN [v0.60](https://facebook.github.io/react-native/blog/2019/07/03/version-60), and react-native-appsflyer `v1.4.7` the plugin uses [autolinking](https://github.com/react-native-community/cli/blob/master/docs/autolinking.md). <br/>\nIf your app does not support autolinking, check out the Installation Guide [here](./Docs/Installation.md).\n\n## <a id=\"appKids\"> 👨‍👩‍👧‍👦 Add or Remove Strict mode for App-kids\n\nStarting from version **6.1.10** iOS SDK comes in two variants: **Strict** mode and **Regular** mode. Please read more [here](https://support.appsflyer.com/hc/en-us/articles/207032066#integration-strict-mode-sdk)\n\n***Change to Strict mode***<br>\nAfter you [installed](#installation) the AppsFlyer plugin, go to the `react-native-appsflyer` folder inside the `node_modules` folder:\n```\ncd node_modules/react-native-appsflyer\n```\nRun the script `changeMode.sh strict`\n```\n./changeMode.sh strict\n```\nGo to the `ios` folder in your `root` project\n```\ncd ../../ios\n```\nRun `pod install`\n\n***Change to Regular mode***<br>\nGo to the `react-native-appsflyer` folder inside the `node_modules` folder:\n```\ncd node_modules/react-native-appsflyer\n```\nRun the script `changeMode.sh` (WITHOUT `strict`)\n```\n./changeMode.sh\n```\nGo to the `ios` folder in your `root` project\n```\ncd ../../ios\n```\nRun `pod install`\n\n## <a id=\"init-sdk\"> 🚀 Initializing the SDK\n\nInitialize the SDK to enable AppsFlyer to detect installations, sessions (app opens) and updates.<br>\nNOTE! for iOS 14.5, we use `timeToWaitForATTUserAuthorization` parameter. Please read more [here](https://support.appsflyer.com/hc/en-us/articles/207032066-iOS-SDK-V6-X-integration-guide-for-developers#integration-33-configuring-app-tracking-transparency-att-support)\n\n```javascript\nimport React, {Component} from 'react';\nimport {Platform, StyleSheet, Text, View} from 'react-native';\nimport appsFlyer from 'react-native-appsflyer';\n\nappsFlyer.initSdk(\n  {\n    devKey: 'K2***********99',\n    isDebug: false,\n    appId: '41*****44',\n    onInstallConversionDataListener: true, //Optional\n    onDeepLinkListener: true, //Optional\n    timeToWaitForATTUserAuthorization: 10 //for iOS 14.5\n  },\n  (result) => {\n    console.log(result);\n  },\n  (error) => {\n    console.error(error);\n  }\n);\n```\n\n| Setting  | Description   |\n| -------- | ------------- |\n| devKey   | Your application [devKey](https://support.appsflyer.com/hc/en-us/articles/211719806-Global-app-settings-#sdk-dev-key) provided by AppsFlyer (required)  |\n| appId      | Your iTunes [application ID](https://support.appsflyer.com/hc/en-us/articles/207377436-Adding-a-new-app#available-in-the-app-store-google-play-store-windows-phone-store)  (iOS only)  |\n| isDebug    | Debug mode - set to `true` for testing only  |\n|onInstallConversionDataListener| Set listener for SDK init response (Optional. default=true) |\n|onDeepLinkListener| Set listener for DDL response (Optional. default=false) |\n|timeToWaitForATTUserAuthorization| Time for the sdk to wait before launch. please read more [Here](https://support.appsflyer.com/hc/en-us/articles/207032066-iOS-SDK-V6-X-integration-guide-for-developers#additional-apis-configuring-app-tracking-transparency-att-support) |\n\n\n ## <a id=\"guides\"> 📖 Guides\n\nGreat installation and setup guides can be viewed [here](/Docs/Guides.md).\n- [init SDK Guide](/Docs/Guides.md#init-sdk)\n- [Deeplinking Guide](/Docs/Guides.md#deeplinking)\n- [Uninstall Guide](/Docs/Guides.md#measure-app-uninstalls)\n\n\n\n## <a id=\"api\"> 📑 API\n  \nSee the full [API](/Docs/API.md) available for this plugin.\n\n","readmeFilename":"README.md","homepage":"https://github.com/amit-kremer93/appsflyer-test-2modes/tree/master/main"}