
Research
/Security News
Contagious Interview Campaign Escalates With 67 Malicious npm Packages and New Malware Loader
North Korean threat actors deploy 67 malicious npm packages using the newly discovered XORIndex malware loader.
@adobe/react-native-acpanalytics
Advanced tools
Adobe Experience Platform support for React Native apps.
@adobe/react-native-acpanalytics
is a wrapper around the iOS, tvOS and Android AEP Analytics SDK to allow for integration with React Native applications. Functionality to enable Adobe Analytics is provided entirely through JavaScript documented below.
Install the SDK with npm and configure the native Android/iOS project in your react native project. Before installing the Analytics extension, it is recommended to first install 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
Note: Follow React Native tvos support to create app with tvos target.
Install and link the @adobe/react-native-acpanalytics
package:
cd MyReactApp
npm install @adobe/react-native-acpanalytics
CLI autolink feature links the module while building the app.
react-native link @adobe/react-native-acpanalytics
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 {ACPAnalytics} from '@adobe/react-native-acpanalytics';
ACPAnalytics.extensionVersion().then(version => console.log("AdobeExperienceSDK: ACPAnalytics version: " + version));
It is recommended to initialize the SDK via native code inside your AppDelegate and MainApplication in iOS and Android respectively.
#import <ACPAnalytics.h>
[ACPAnalytics registerExtension];
import com.adobe.marketing.mobile.Analytics;
Analytics.registerExtension();
ACPAnalytics.getTrackingIdentifier().then(identifier => console.log("AdobeExperienceSDK: Tracking identifier: " + identifier));
ACPAnalytics.sendQueuedHits();
ACPAnalytics.getQueueSize().then(size => console.log("AdobeExperienceSDK: Queue size: " + size));
ACPAnalytics.clearQueue();
ACPAnalytics.setVisitorIdentifier("yourVisitorId");
ACPAnalytics.getVisitorIdentifier().then(vid => console.log("AdobeExperienceSDK: Visitor identifier: " + vid));
ACPCore.trackAction("action", {"mytest": "action"});
ACPCore.trackState("state", {"mytest": "state"});
See CONTRIBUTING
See LICENSE
FAQs
Adobe Experience Platform support for React Native apps.
The npm package @adobe/react-native-acpanalytics receives a total of 2,593 weekly downloads. As such, @adobe/react-native-acpanalytics popularity was classified as popular.
We found that @adobe/react-native-acpanalytics 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.
Research
/Security News
North Korean threat actors deploy 67 malicious npm packages using the newly discovered XORIndex malware loader.
Security News
Meet Socket at Black Hat & DEF CON 2025 for 1:1s, insider security talks at Allegiant Stadium, and a private dinner with top minds in software supply chain security.
Security News
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.