
Security News
npm Adopts OIDC for Trusted Publishing in CI/CD Workflows
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
react-native-nitro-background-timer
Advanced tools
This is a template for Nitro Modules.
Clone this repo, and change all $$*$$
names according to your nitro.json
file.
Contribute a change to this template to update it for newer React Native versions.
android/
: All your android
-specific implementations.
build.gradle
: The gradle build file. This contains four important pieces:
apply plugin: 'org.jetbrains.kotlin.android'
)apply from: '.../NitroBackgroundTimer+autolinking.gradle'
)externalNativeBuild
)CMakeLists.txt
: The CMake build file to build C++ code. This contains four important pieces:
NitroBackgroundTimer
(same as in nitro.json
)include(.../NitroBackgroundTimer+autolinking.cmake)
)HybridTestObjectCpp.cpp
)cpp-adapter.cpp
file, which autolinks all C++ HybridObjects (only HybridTestObjectCpp
)src/main/java/com/margelo/nitro/nitrobackgroundtimer/
: All Kotlin implementations.
NitroBackgroundTimerPackage.java
: The react-native package. You need this because the react-native CLI only adds libraries if they have a *Package.java
file. In here, you can autolink all Kotlin HybridObjects.cpp/
: All your cross-platform implementations. (only HybridTestObjectCpp.cpp
)ios/
: All your iOS-specific implementations.nitrogen/
: All files generated by nitrogen. You should commit this folder to git.src/
: The TypeScript codebase. This defines all HybridObjects and loads them at runtime.
specs/
: All HybridObject types. Nitrogen will run on all *.nitro.ts
files.nitro.json
: The configuration file for nitrogen. This will define all native namespaces, as well as the library name.NitroBackgroundTimer.podspec
: The iOS podspec build file to build the iOS code. This contains three important pieces:
nitro.json
..swift
or .cpp
files (implementations).add_nitrogen_files(s)
)package.json
: The npm package.json file. react-native-nitro-modules
should be a peerDependency
.FAQs
react-native-nitro-background-timer
The npm package react-native-nitro-background-timer receives a total of 87 weekly downloads. As such, react-native-nitro-background-timer popularity was classified as not popular.
We found that react-native-nitro-background-timer demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
Research
/Security News
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
Security News
The CNA Scorecard ranks CVE issuers by data completeness, revealing major gaps in patch info and software identifiers across thousands of vulnerabilities.