npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

react-native-skadnetwork

v0.1.1

Published

react-native-skadnetwork is a React Native module designed for use on the iOS platform. This module allows you to integrate SKAdNetwork features into your React Native projects seamlessly. It is fully compatible with third-party SDKs such as Firebase Anal

Downloads

621

Readme

react-native-skadnetwork

react-native-skadnetwork is a React Native module designed for use on the iOS platform. This module allows you to integrate SKAdNetwork features into your React Native projects seamlessly. It is fully compatible with third-party SDKs such as Firebase Analytics and Facebook Meta. The module is tailored for all iOS versions and currently supports a model with six events. Additionally, it supports SKAN 3 and SKAN 4 techniques for advanced tracking capabilities.

Note: SKAdNetwork only reports conversion values to SKAN services for apps downloaded from the App Store.

Features

  • Seamless Integration: Easily integrate SKAdNetwork features into your React Native projects.
  • Third-Party Compatibility: Fully compatible with third-party SDKs like Firebase Analytics and Facebook Meta.
  • Comprehensive iOS Support: Designed specifically for all iOS versions.
  • Event Model: Currently supports a model with six distinct events.
  • Advanced Tracking: Supports SKAN 3 and SKAN 4 techniques for enhanced tracking and measurement.

Installation

Using Yarn

yarn add react-native-skadnetwork

Using NPM

npm install react-native-skadnetwork

Usage

iOS Integration

React Native automatically links the SKAdNetworkExtension module for you. If you encounter any issues with the module not being linked correctly, you can manually add it to your Podfile.

Manual Podfile Update (if needed)

Add the following line to your Podfile if the module is not linked automatically:

pod 'SKAdNetworkExtension', :path => '../node_modules/SKAdNetworkExtension'
cd ios
pod install
import { logEventSKAdNetwork } from 'react-native-skadnetwork';

const events = {
  SIGNUP: 0,
  LEVEL_1: 1,
  LEVEL_2: 2,
  AD_VIEW: 3,
  PURCHASE: 4,
  INSTALL: 5,
};

logEventSKAdNetwork(events.PURCHASE); // conversion value = 16 / byte value = 0, 0, 0, 0, 1, 0

// or send identification manually

logEventSKAdNetwork(0); // conversion value = 1 / byte value = 1, 0, 0, 0, 0, 0

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT


Project Explanation

Project Name: react-native-skadnetwork

Project Purpose: This project is developed to integrate SKAdNetwork features into React Native projects for the iOS platform. SKAdNetwork is Apple's technology for advertising tracking and measurement, and this module allows you to easily integrate these features into your React Native projects.

Technologies Used:

  • React Native
  • iOS (Objective-C/Swift)
  • CocoaPods

Key Features:

  • Seamless integration with SKAdNetwork features.
  • Full compatibility with third-party SDKs such as Firebase Analytics and Facebook Meta.
  • Tailored for all iOS versions.
  • Currently supports six distinct events.

Key Files and Directories:

  • src/: Contains the TypeScript code.
  • ios/: Contains the iOS-specific code.
  • example/: Example project demonstrating how to use the module.
  • SKAdNetworkExtension.podspec: Podspec file containing the necessary settings for CocoaPods integration.

This documentation provides essential information about using and developing the project. If you need any additional information or assistance, please let me know!