{"_id":"@selligent-marketing-cloud/selligent-react-native-beta","_rev":"29-98db73a6390ac599c9711318b9e78150","name":"@selligent-marketing-cloud/selligent-react-native-beta","dist-tags":{"latest":"4.4.1"},"versions":{"4.2.0":{"name":"@selligent-marketing-cloud/selligent-react-native-beta","version":"4.2.0","keywords":["react-native"],"author":{"name":"Marigold Engage","email":"mobile@selligent.com"},"license":"MIT","_id":"@selligent-marketing-cloud/selligent-react-native-beta@4.2.0","maintainers":[{"name":"appfoundry-admin","email":"info@appfoundry.be"},{"name":"selligentmarketingcloud","email":"infra@selligent.com"},{"name":"selligentmobile","email":"mobile@selligent.com"}],"homepage":"https://github.com/SelligentMarketingCloud/MobileSDK-ReactNative#readme","bugs":{"url":"https://github.com/SelligentMarketingCloud/MobileSDK-ReactNative/issues"},"dist":{"shasum":"4e982748c5c1b3fa55e2d6c16b736d80f14b1140","tarball":"https://registry.npmjs.org/@selligent-marketing-cloud/selligent-react-native-beta/-/selligent-react-native-beta-4.2.0.tgz","fileCount":22,"integrity":"sha512-zq0fYBalj2cr3UWKSAlqEvLbwqsrr2l0NNNeSseofsJuKXH3842GxzKgDnya3a9SavhTi3gbAFIPMVL88zyJEw==","signatures":[{"sig":"MEUCIGK99ZF0N2DnxH9awZjaBUyMep7oDxqzobfQRu6jFX7mAiEAygenZDnVFrEtaEmDGGyI0QqUcn/zHOwdoksVgL6n6m0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":124620},"main":"index.js","title":"Marigold Engage React Native","types":"./index.d.ts","gitHead":"fc6e020817c1b6458aeade8a3fdc1d6fbecab40b","scripts":{"test":"jest --coverage --reporters=jest-junit","local-test":"jest --coverage"},"_npmUser":{"name":"selligentmobile","email":"mobile@selligent.com"},"repository":{"url":"git+https://github.com/SelligentMarketingCloud/MobileSDK-ReactNative.git","type":"git"},"_npmVersion":"10.8.2","description":"React Native wrapper for the Marigold Engage Android and iOS SDKs","directories":{},"_nodeVersion":"20.19.5","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.5.0","react":"18.0.0","ts-jest":"^29.1.0","babel-jest":"^29.5.0","jest-junit":"^16.0.0","react-native":"^0.69.10","@babel/preset-env":"^7.21.5","metro-react-native-babel-preset":"^0.76.4","@babel/plugin-proposal-private-methods":"^7.18.6","@babel/plugin-proposal-class-properties":"^7.18.6","@babel/plugin-proposal-private-property-in-object":"^7.21.0"},"licenseFilename":"LICENSE","peerDependencies":{"react":"*","react-native":"*"},"_npmOperationalInternal":{"tmp":"tmp/selligent-react-native-beta_4.2.0_1762424883804_0.029307664400673117","host":"s3://npm-registry-packages-npm-production"}},"4.3.3":{"name":"@selligent-marketing-cloud/selligent-react-native-beta","version":"4.3.3","keywords":["react-native"],"author":{"name":"Selligent by Zeta","email":"mobile@selligent.com"},"license":"MIT","_id":"@selligent-marketing-cloud/selligent-react-native-beta@4.3.3","maintainers":[{"name":"appfoundry-admin","email":"info@appfoundry.be"},{"name":"selligentmarketingcloud","email":"infra@selligent.com"},{"name":"selligentmobile","email":"mbiosca@zetaglobal.com"}],"homepage":"https://github.com/SelligentMarketingCloud/MobileSDK-ReactNative#readme","bugs":{"url":"https://github.com/SelligentMarketingCloud/MobileSDK-ReactNative/issues"},"dist":{"shasum":"fd7f6e41fa4ea1e82e8165b6166415050d427da1","tarball":"https://registry.npmjs.org/@selligent-marketing-cloud/selligent-react-native-beta/-/selligent-react-native-beta-4.3.3.tgz","fileCount":22,"integrity":"sha512-cLI9paIZMjNCaUPFINs0JAB/8nkmiKOAoLNyzp4UQ/ZOeJF3wJVGZKNKF2LOtIvsizoxVSy/Okq9IUGzYoRPwg==","signatures":[{"sig":"MEYCIQDMuf2mrp8BglZoW6WYgzGoxoBj8nMWn8p2pgGz+D0a6AIhAPOB7kf9Td+deRA7CvILisFswQI0npKIeFCPRGe7MY6d","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":125076},"main":"index.js","title":"Selligent by Zeta React Native","types":"./index.d.ts","gitHead":"6fc9dbe925323e81f902b317e94d635db7512b76","scripts":{"test":"jest --coverage --reporters=jest-junit","local-test":"jest --coverage"},"_npmUser":{"name":"selligentmobile","email":"mbiosca@zetaglobal.com"},"repository":{"url":"git+https://github.com/SelligentMarketingCloud/MobileSDK-ReactNative.git","type":"git"},"_npmVersion":"10.9.7","description":"React Native wrapper for the Selligent by Zeta Android and iOS SDKs","directories":{},"_nodeVersion":"22.22.2","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.5.0","react":"18.0.0","ts-jest":"^29.1.0","babel-jest":"^29.5.0","jest-junit":"^16.0.0","react-native":"^0.69.10","@babel/preset-env":"^7.21.5","metro-react-native-babel-preset":"^0.76.4","@babel/plugin-proposal-private-methods":"^7.18.6","@babel/plugin-proposal-class-properties":"^7.18.6","@babel/plugin-proposal-private-property-in-object":"^7.21.0"},"licenseFilename":"LICENSE","peerDependencies":{"react":"*","react-native":"*"},"_npmOperationalInternal":{"tmp":"tmp/selligent-react-native-beta_4.3.3_1777535118967_0.8340237364907668","host":"s3://npm-registry-packages-npm-production"}},"4.4.0":{"name":"@selligent-marketing-cloud/selligent-react-native-beta","version":"4.4.0","keywords":["react-native"],"author":{"name":"Selligent by Zeta","email":"mobile@selligent.com"},"license":"MIT","_id":"@selligent-marketing-cloud/selligent-react-native-beta@4.4.0","maintainers":[{"name":"appfoundry-admin","email":"info@appfoundry.be"},{"name":"selligentmarketingcloud","email":"infra@selligent.com"},{"name":"selligentmobile","email":"mbiosca@zetaglobal.com"}],"homepage":"https://github.com/SelligentMarketingCloud/MobileSDK-ReactNative#readme","bugs":{"url":"https://github.com/SelligentMarketingCloud/MobileSDK-ReactNative/issues"},"dist":{"shasum":"9634e8ee9547aa87f4446e7069a01e22e8a1ff4e","tarball":"https://registry.npmjs.org/@selligent-marketing-cloud/selligent-react-native-beta/-/selligent-react-native-beta-4.4.0.tgz","fileCount":22,"integrity":"sha512-tqLEUOL5nZaIp8lraDzVlGbOmL5e4xnkX6gs0QNP5tIg53g+RqLNOeKcHrps3dzu7qTgegd5iwif67I+Rf3UVA==","signatures":[{"sig":"MEUCIHBHJUp0+7Fl+fsuNNTzXns0uoznyWf/UZnG9j2BrpC2AiEA2OZaYo5QrUmifmNGO3+m7UYMP6eM5Ea35COQ5iX2cdk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":125077},"main":"index.js","title":"Selligent by Zeta React Native","types":"./index.d.ts","gitHead":"37147bb4c5ebfacd85731904139293172f4f3a53","scripts":{"test":"jest --coverage --reporters=jest-junit","local-test":"jest --coverage"},"_npmUser":{"name":"selligentmobile","email":"mbiosca@zetaglobal.com"},"repository":{"url":"git+https://github.com/SelligentMarketingCloud/MobileSDK-ReactNative.git","type":"git"},"_npmVersion":"10.9.7","description":"React Native wrapper for the Selligent by Zeta Android and iOS SDKs","directories":{},"_nodeVersion":"22.22.2","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.5.0","react":"18.0.0","ts-jest":"^29.1.0","babel-jest":"^29.5.0","jest-junit":"^16.0.0","react-native":"^0.69.10","@babel/preset-env":"^7.21.5","metro-react-native-babel-preset":"^0.76.4","@babel/plugin-proposal-private-methods":"^7.18.6","@babel/plugin-proposal-class-properties":"^7.18.6","@babel/plugin-proposal-private-property-in-object":"^7.21.0"},"licenseFilename":"LICENSE","peerDependencies":{"react":"*","react-native":"*"},"_npmOperationalInternal":{"tmp":"tmp/selligent-react-native-beta_4.4.0_1777541888402_0.8683847807887304","host":"s3://npm-registry-packages-npm-production"}},"4.4.1":{"author":{"name":"Selligent by Zeta","email":"mobile@selligent.com"},"name":"@selligent-marketing-cloud/selligent-react-native-beta","title":"Selligent by Zeta React Native","version":"4.4.1","description":"React Native wrapper for the Selligent by Zeta Android and iOS SDKs","main":"index.js","repository":{"type":"git","url":"git+https://github.com/SelligentMarketingCloud/MobileSDK-ReactNative.git"},"homepage":"https://github.com/SelligentMarketingCloud/MobileSDK-ReactNative#readme","keywords":["react-native"],"license":"MIT","licenseFilename":"LICENSE","peerDependencies":{"react":"*","react-native":"*"},"devDependencies":{"@babel/plugin-proposal-class-properties":"^7.18.6","@babel/plugin-proposal-private-methods":"^7.18.6","@babel/plugin-proposal-private-property-in-object":"^7.21.0","@babel/preset-env":"^7.21.5","babel-jest":"^29.5.0","jest":"^29.5.0","metro-react-native-babel-preset":"^0.76.4","react":"18.0.0","react-native":"^0.69.10","ts-jest":"^29.1.0","jest-junit":"^16.0.0"},"scripts":{"test":"jest --coverage --reporters=jest-junit","local-test":"jest --coverage"},"_id":"@selligent-marketing-cloud/selligent-react-native-beta@4.4.1","gitHead":"7f8ce7f55cf3612627389a4c31d8c3fb17e34879","types":"./index.d.ts","bugs":{"url":"https://github.com/SelligentMarketingCloud/MobileSDK-ReactNative/issues"},"_nodeVersion":"22.22.2","_npmVersion":"10.9.7","dist":{"integrity":"sha512-t5sGH7iXQ5V9kfoLO3IiX2SWOxfwma5BOJLBKpr6H8m1TvGxMz50rv9C6MupchVvNe80YxUS3GUhYTXItO7LTw==","shasum":"f1ea4ff2aed2440654e894efa53673fc3b44f851","tarball":"https://registry.npmjs.org/@selligent-marketing-cloud/selligent-react-native-beta/-/selligent-react-native-beta-4.4.1.tgz","fileCount":22,"unpackedSize":125077,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCMJd2ioRweHzyKLf5w7eeqsvun5DAAGUiE/8Hrw0uhZgIgP557vxggaHhxrsXH6zKOJnrQtgo4IW8ABH7o7R2IOek="}]},"_npmUser":{"name":"selligentmobile","email":"mbiosca@zetaglobal.com"},"directories":{},"maintainers":[{"name":"appfoundry-admin","email":"info@appfoundry.be"},{"name":"selligentmarketingcloud","email":"infra@selligent.com"},{"name":"selligentmobile","email":"mbiosca@zetaglobal.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/selligent-react-native-beta_4.4.1_1777619492662_0.8776391147235354"},"_hasShrinkwrap":false}},"time":{"created":"2025-11-06T10:28:03.704Z","modified":"2026-05-01T07:11:32.956Z","3.2.0":"2023-06-01T11:04:28.852Z","3.2.1":"2023-06-01T11:54:06.286Z","3.2.2":"2023-06-01T12:40:15.113Z","3.2.4":"2023-06-06T16:30:52.981Z","3.2.5":"2023-06-15T13:06:25.651Z","3.2.6":"2023-06-21T12:39:39.537Z","3.2.7":"2023-06-29T08:41:04.402Z","3.3.0":"2023-07-19T10:49:13.283Z","3.3.1":"2023-08-18T07:59:48.667Z","3.3.2":"2023-08-25T08:24:56.033Z","3.4.0":"2023-09-14T13:44:48.962Z","3.4.1":"2023-09-19T09:11:23.790Z","3.5.0":"2023-10-19T10:45:57.360Z","3.5.1":"2023-10-27T06:27:03.939Z","3.5.2":"2023-11-09T14:19:32.939Z","3.6.0":"2023-11-23T10:14:41.819Z","3.7.0":"2023-12-14T09:45:03.256Z","3.7.1":"2024-01-30T09:28:24.384Z","3.8.0":"2024-02-22T08:57:27.090Z","3.9.0":"2024-03-20T14:30:53.616Z","3.9.1":"2024-04-15T12:02:14.826Z","3.9.2":"2024-04-19T09:28:28.526Z","4.0.0":"2024-06-06T05:10:14.728Z","4.2.0":"2025-11-06T10:28:03.988Z","4.3.3":"2026-04-30T07:45:19.135Z","4.4.0":"2026-04-30T09:38:08.523Z","4.4.1":"2026-05-01T07:11:32.796Z"},"bugs":{"url":"https://github.com/SelligentMarketingCloud/MobileSDK-ReactNative/issues"},"author":{"name":"Selligent by Zeta","email":"mobile@selligent.com"},"license":"MIT","homepage":"https://github.com/SelligentMarketingCloud/MobileSDK-ReactNative#readme","keywords":["react-native"],"repository":{"type":"git","url":"git+https://github.com/SelligentMarketingCloud/MobileSDK-ReactNative.git"},"description":"React Native wrapper for the Selligent by Zeta Android and iOS SDKs","maintainers":[{"name":"appfoundry-admin","email":"info@appfoundry.be"},{"name":"selligentmarketingcloud","email":"infra@selligent.com"},{"name":"selligentmobile","email":"mbiosca@zetaglobal.com"}],"readme":"# Selligent by Zeta-ReactNative (selligent-react-native)\n\nThis module provides an API for the usage of the Selligent Mobile SDKs in React Native.\n\n## Selligent by Zeta-ReactNative Integration\n\nThis module supports the following SDK and tools:\n\n> **IMPORTANT** This module isn't built using ReactNative's new architecture! It is however compatible with apps that do adopt the new architecture, as far as they are using latest ReactNative's versions.\n\n| SDK                                                                            | Version |\n| ------------------------------------------------------------------------------ |---------|\n| [Android SDK](https://github.com/SelligentMarketingCloud/MobileSDK-Android)    | 4.8.0   |\n| [iOS SDK](https://github.com/SelligentMarketingCloud/MobileSDK-iOS)            | 3.8.7   |\n| ReactNative                                                                    | 0.81.4  |\n| Expo SDK                                                                       | 54      |\n\n## Installation\n\n> Please refer to our [SDK full documentation](documentation/#reactnative--using-the-sdk) for a step-by-step guide on how to use the SDK, after installation.\n\n1. Install the module\n\n   ```shell\n   npm install @selligent-marketing-cloud/selligent-react-native --save\n   ```\n\n2. Create a `selligent.json` file (name is case sensitive) in the root of the React Native project (you can alternatively place it inside another folder or inside a `selligent` folder which will automatically be checked by the wrapper) with the following content:\n\n   ```json\n   {\n     \"url\": \"someMobilePushUrl\",\n     \"clientId\": \"someClientId\",\n     \"privateKey\": \"somePrivateKey\",\n     \"fullyQualifiedNotificationActivityClassName\": \"com.some.project.MainActivity\",\n     \"delayedPushAction\": true\n   }\n   ```\n\n> Check all the options that can be used in our [SDK full documentation](documentation/#working-with-the-selligentjson)\n\n### Android Specific Installation\n\n> **IMPORTANT:** Since version 2.6.0 of this module we require your app to use the Android Gradle Plugin version 7.0.0 or higher in order to build on Android.\n\n<details>\n<summary>Without autolinking (RN 0.59 and below)</summary>\n\n1. Create a Google application following the section [native documentation](https://github.com/SelligentMarketingCloud/MobileSDK-Android/tree/master/Documentation#creating_app), and place the `google-services.json` file in the `./android/app` folder.\n\n2. Add the following lines at the end of the `android/settings.gradle` file:\n\n   ```groovy\n   include ':selligent-react-native'\n   project(':selligent-react-native').projectDir = new File(rootProject.projectDir, '../node_modules/@selligent-marketing-cloud/selligent-react-native/android')\n   ```\n\n3. Add the following in the `android/build.gradle` file, and make sure that the Gradle version in `android/gradle/wrapper/gradle-wrapper.properties` is >= 6.7.1:\n\n   ```groovy\n   // android/build.gradle\n\n   buildscript {\n       dependencies {\n           // Make sure your Gradle plugin version is >= 7.0.0\n           classpath(\"com.android.tools.build:gradle:7.0.0\")\n           // Add the following:\n           classpath 'com.google.gms:google-services:4.3.15'\n       }\n   }\n   ```\n\n   ```groovy\n    // android/gradle/wrapper/gradle-wrapper.properties\n    distributionUrl=https\\://services.gradle.org/distributions/gradle-6.7.1-all.zip\n   ```\n\n4. Add the following in the `android/app/build.gradle` file:\n\n   ```groovy\n   dependencies {\n       // Add the following:\n       compile project(path: ':selligent-react-native')\n   }\n   // Add the following:\n   apply plugin: 'com.google.gms.google-services'\n   ```\n\n5. Add the following in the `android/app/src/../MainApplication.java` file:\n\n   ```java\n   // Add the following import statements:\n   import com.selligent.RNSelligent;\n   import com.selligent.RNSelligentPackage;\n\n   public class MainApplication extends Application implements ReactApplication {\n\n       private final ReactNativeHost mReactNativeHost = new ReactNativeHost(this) {\n            @Override\n            protected List<ReactPackage> getPackages() {\n\n                List<ReactPackage> packages = new PackageList(this).getPackages();\n                // Add the following:\n                packages.add(new RNSelligentPackage());\n                return packages;\n            }\n       };\n\n       @Override\n       public void onCreate() {\n           super.onCreate();\n\n           // Add the following:\n           RNSelligent.configure(this);\n       }\n   }\n   ```\n\n</details>\n\n<details open>\n<summary>With autolinking (RN 0.60 and above)</summary>\n\n1. Create a Google application following the section **Creating a Google application** of the **Android - Using the SDK** pdf, and place the `google-services.json` file in the `./android/app` folder.\n\n2. Add the following in the `android/build.gradle` file, and make sure that the Gradle version in `android/gradle/wrapper/gradle-wrapper.properties` is >= 6.7.1:\n\n   ```groovy\n   // android/build.gradle \n\n   buildscript {\n       dependencies {\n           // Add the following:\n           classpath 'com.google.gms:google-services:4.3.15'\n       }\n   }\n   ```\n\n3. Add the following in the `android/app/build.gradle` file (at the bottom):\n\n   ```groovy\n   // Add the following:\n   apply plugin: 'com.google.gms.google-services'\n   ```\n\n4. Add the following in the `android/app/src/../MainApplication.java` file:\n\n    ```java\n    // Add the following import statements:\n    import com.selligent.RNSelligent;\n    import com.selligent.RNSelligentPackage;\n\n    public class MainApplication extends Application implements ReactApplication {\n        @Override\n        public void onCreate() {\n            super.onCreate();\n\n            // Add the following:\n            RNSelligent.configure(this);\n        }\n    }\n    ```\n\n</details>\n\n### iOS Specific installation\n\n<details>\n<summary>Without autolinking (RN 0.59 and below)</summary>\n\n1. Copy the `node_modules/@selligent-marketing-cloud/selligent-react-native/ios` folder to the **Xcode project**. Drop it under the `Libraries` Folder. This will link the module to the iOS project.\n\n2. Drag and drop the `selligent.json` you created (or the full folder(s) containing it) to the Xcode project inside the `Copy Bundle Resources` in `Build phases` of your target:\n\n    > Do not check the \"copy if needed\" option to make sure you only have to manage one selligent.json file\n\n3. Add the native iOS SDK dependency in your Podfile: `s.dependency \"SelligentMobileSDK/Framework\", \"3.8.7\"` or download it manually from [here](https://github.com/SelligentMarketingCloud/MobileSDK-iOS/tree/master/Framework) and drag and drop it into you **Xcode project**.\n\n4. Add the RNSelligentMapper pod in your Podfile: `pod 'RNSelligentMapper', :path => '../node_modules/@selligent-marketing-cloud/selligent-react-native/RNSelligentMapper.podspec'`.\n\n5. Execute `pod install` in the `/ios` folder\n\n6. From now on, open the `.xcworkspace` file to make changes in Xcode\n\n7. Bootstrap the SDK in the `application:didFinishLaunchingWithOptions:` of the `AppDelegate.mm`\n\n    ```objective-c\n    @import RNSelligentMobileSDK;\n    // OR\n    // #import <RNSelligentMobileSDK/RNSelligentMobileSDK-Swift.h>\n    \n    // You can alternatively specify a different file name (without the extension) from where to load the Selligent configs (defaults to 'selligent')\n    // if (!launchOptions) {\n    //    launchOptions = [NSMutableDictionary new];\n    // }\n    // [launchOptions setValue:@\"alternativeFileName\" forKey:@\"RN_SELLIGENT_JSON\"];\n    // [launchOptions setValue:@\"selligent/alternativeFileName\" forKey:@\"RN_SELLIGENT_JSON\"];\n\n    // At the end of application:didFinishLaunchingWithOptions:\n    [RNSelligent configureWithLaunchOptions:launchOptions];\n    ```\n\n</details>\n\n<details open>\n<summary>With autolinking (RN 0.60 and above)</summary>\n\n1. Drag and drop the `selligent.json` you created (or the full folder(s) containing it) to the Xcode project inside the `Copy Bundle Resources` in `Build phases` of your target:\n\n    > Do not check the \"copy if needed\" option to make sure you only have to manage one selligent.json file\n\n2. Execute `pod install` in the `/ios` folder\n\n3. Import & bootstrap the SDK in the `application:didFinishLaunchingWithOptions:` of the `AppDelegate.m` (put it at the end of the method)\n\n    ```objc\n    @import RNSelligentMobileSDK;\n    // OR\n    // #import <RNSelligentMobileSDK/RNSelligentMobileSDK-Swift.h>\n    \n    // You can alternatively specify a different file name (without the extension) from where to load the Selligent configs (defaults to 'selligent')\n    // if (!launchOptions) {\n    //    launchOptions = [NSMutableDictionary new];\n    // }\n    // [launchOptions setValue:@\"alternativeFileName\" forKey:@\"RN_SELLIGENT_JSON\"];\n    // [launchOptions setValue:@\"selligent/alternativeFileName\" forKey:@\"RN_SELLIGENT_JSON\"];\n    // [launchOptions setValue:@\"alternativeFolder/alternativeFileName\" forKey:@\"RN_SELLIGENT_JSON\"];\n\n    // At the end of application:didFinishLaunchingWithOptions:\n    [RNSelligent configureWithLaunchOptions:launchOptions];\n    ```\n\n</details>\n","readmeFilename":"README.md"}