Security News
New Proposed CISA Mandate Would Require Critical Infrastructure to Report Ransom Payments Within 24 Hours
CISA has proposed a set of new rules that would require critical infrastructure to report cyber incidents and ransom payments.
@adobe/react-native-acpcampaign
Advanced tools
Adobe Experience Platform support for React Native apps.
Weekly downloads
Readme
@adobe/react-native-acpcampaign
is a wrapper around the iOS and Android AEP Campaign SDK to allow for integration with React Native applications. Functionality to enable Adobe Campaign Standard is provided entirely through JavaScript documented below.
You need to install the SDK with npm and configure the native Android/iOS project in your react native project. Before installing the Campaign extension it is recommended to begin by installing the Core extension.
Note: If you are new to React Native we suggest you follow the React Native Getting Started page before continuing.
First create a React Native project:
react-native init MyReactApp
Install and link the @adobe/react-native-acpcampaign
package:
cd MyReactApp
npm install @adobe/react-native-acpcampaign
This package requires React Native 0.60+ to build which supports CLI autolink feature to link the modules while building the app.
Note For iOS
using cocoapods
, run:
cd ios/ && pod install
Note For iOS
using cocoapods
, run:
cd ios/ && pod install
This project contains jest unit tests which are contained in the __tests__
directory, to run the tests locally:
make run-tests-locally
import {ACPCampaign} from '@adobe/react-native-acpcampaign';
ACPCampaign.extensionVersion().then(version => console.log("AdobeExperienceSDK: ACPCampaign version: " + version));
Note: It is recommended to initialize the SDK via native code inside your AppDelegate and MainApplication in iOS and Android respectively.
#import <RCTACPCampaign/ACPCampaign.h>
[ACPCampaign registerExtension];
import com.adobe.marketing.mobile.Campaign;
Campaign.registerExtension();
ACPCampaign.setLinkageFields({"linkageKey": "linkageValue"});
ACPCampaign.resetLinkageFields();
See CONTRIBUTING
See LICENSE
FAQs
Adobe Experience Platform support for React Native apps.
The npm package @adobe/react-native-acpcampaign receives a total of 439 weekly downloads. As such, @adobe/react-native-acpcampaign popularity was classified as not popular.
We found that @adobe/react-native-acpcampaign demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 21 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
CISA has proposed a set of new rules that would require critical infrastructure to report cyber incidents and ransom payments.
Security News
Redis is no longer OSS, breaking its explicit commitment to remain under the BSD 3-Clause License forever. This has angered contributors who are now working to fork the software.
Product
Socket AI now enables 'AI detected potential malware' alerts by default, ensuring users benefit from AI-powered state-of-the-art malware detection without needing to opt-in.