Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
08dbde3
Refactor code structure and remove redundant changes
mCodex May 19, 2025
13bac08
chore: cleaning up code and running on iOS
mCodex May 19, 2025
7ac6390
chore: reinitialized repository
mCodex Jul 18, 2025
5671fcd
feat: Implement secure storage using EncryptedSharedPreferences for A…
mCodex Jul 18, 2025
1f7e3ac
feat: Add biometric security demo component and integrate biometric s…
mCodex Jul 18, 2025
236b1c4
docs: Update README for clarity on security features and API changes
mCodex Jul 18, 2025
d7a9537
Refactor SensitiveInfo implementation and add SwiftUI components for …
mCodex Jul 18, 2025
7f942a0
feat: Add SecurityCapabilitiesDemo component and integrate security c…
mCodex Jul 19, 2025
e8406b9
chore: improving example and fixing iOS source code
mCodex Aug 7, 2025
e169cf8
refactor: Update KeychainManager methods for improved query handling …
mCodex Aug 19, 2025
fe0dc2f
Update Android/iOS dependencies and refactor security code
mCodex Aug 19, 2025
b047027
Enhance SecurityDemo with capability info and store tracking
mCodex Aug 19, 2025
0310140
feat: Add biometric authentication support for Android and iOS
mCodex Aug 19, 2025
f554332
feat: Enhance security options with biometric and strongbox support i…
mCodex Aug 19, 2025
4b2febf
refactor: Simplify SensitiveInfoPackage and improve hybrid object ini…
mCodex Aug 19, 2025
9658baa
Restructure project and update CI workflows
mCodex Oct 13, 2025
676034b
Add Android secure storage with biometric support
mCodex Oct 14, 2025
0282703
Add documentation and improve error handling for SensitiveInfo
mCodex Oct 14, 2025
f00da2f
Add Prettier and ESLint config, update dependencies
mCodex Oct 14, 2025
f7d80fd
chore: bump package version to 6.0.0-rc.1
mCodex Oct 14, 2025
abd5d4e
Revamp README with improved structure and tips
mCodex Oct 14, 2025
2ff5a86
Update README.md
mCodex Oct 14, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 0 additions & 38 deletions .all-contributorsrc

This file was deleted.

57 changes: 0 additions & 57 deletions .eslintrc.js

This file was deleted.

56 changes: 56 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
version: 2
enable-beta-ecosystems: true
updates:
- package-ecosystem: 'github-actions'
directory: '/'
schedule:
interval: 'daily'
labels:
- 'dependencies'

- package-ecosystem: 'gradle'
directories:
- '/android/'
- '/example/android/'
schedule:
interval: 'daily'
labels:
- 'nitro-core'
- 'nitrogen'
- 'dependencies'
- 'kotlin'

- package-ecosystem: 'bundler'
directory: '/example/'
schedule:
interval: 'daily'
labels:
- 'dependencies'
- 'ruby'

- package-ecosystem: 'npm'
directories:
- '/example/'
- '/'
schedule:
interval: 'daily'
labels:
- 'nitro-core'
- 'dependencies'
- 'typescript'
- 'nitrogen'

groups:
react-native-cli:
patterns:
- '@react-native-community/cli*'
babel:
patterns:
- '@babel/*'
react-native:
patterns:
- '@react-native/*'
nitro:
patterns:
- 'nitrogen'
- 'react-native-nitro-modules'
17 changes: 0 additions & 17 deletions .github/stale.yml

This file was deleted.

79 changes: 79 additions & 0 deletions .github/workflows/android-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
name: Build Android

permissions:
contents: read

on:
push:
branches:
- main
paths:
- '.github/workflows/android-build.yml'
- 'example/android/**'
- 'nitrogen/generated/shared/**'
- 'nitrogen/generated/android/**'
- 'cpp/**'
- 'android/**'
- '**/bun.lock'
- '**/react-native.config.js'
- '**/nitro.json'
pull_request:
paths:
- '.github/workflows/android-build.yml'
- 'example/android/**'
- '**/nitrogen/generated/shared/**'
- '**/nitrogen/generated/android/**'
- 'cpp/**'
- 'android/**'
- '**/bun.lock'
- '**/react-native.config.js'
- '**/nitro.json'
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
build:
name: Build Android Example App (${{ matrix.arch }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
arch: [new, old]
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2

- name: Install dependencies (bun)
run: bun install

- name: Disable new architecture in gradle.properties
if: matrix.arch == 'old'
run: sed -i "s/newArchEnabled=true/newArchEnabled=false/g" example/android/gradle.properties

- name: Setup JDK 17
uses: actions/setup-java@v5
with:
distribution: 'zulu'
java-version: '17'
cache: 'gradle'

- name: Cache Gradle
uses: actions/cache@v4
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('example/android/**/*.gradle*') }}
restore-keys: |
${{ runner.os }}-gradle-

- name: Run Gradle build
working-directory: example/android
run: ./gradlew assembleDebug --no-daemon --build-cache

- name: Stop Gradle daemon
working-directory: example/android
run: ./gradlew --stop
107 changes: 107 additions & 0 deletions .github/workflows/ios-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
name: Build iOS

permissions:
contents: read

on:
push:
branches:
- main
paths:
- '.github/workflows/ios-build.yml'
- 'example/ios/**'
- 'example/Gemfile'
- 'example/Gemfile.lock'
- '**/nitrogen/generated/shared/**'
- '**/nitrogen/generated/ios/**'
- 'cpp/**'
- 'ios/**'
- '**/Podfile.lock'
- '**/bun.lock'
- '**/*.podspec'
- '**/react-native.config.js'
- '**/nitro.json'
pull_request:
paths:
- '.github/workflows/ios-build.yml'
- 'example/ios/**'
- 'example/Gemfile'
- 'example/Gemfile.lock'
- '**/nitrogen/generated/shared/**'
- '**/nitrogen/generated/ios/**'
- 'cpp/**'
- 'ios/**'
- '**/Podfile.lock'
- '**/bun.lock'
- '**/*.podspec'
- '**/react-native.config.js'
- '**/nitro.json'
workflow_dispatch:

env:
USE_CCACHE: 1

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
build:
name: Build iOS Example App (${{ matrix.arch }})
runs-on: macOS-15
strategy:
fail-fast: false
matrix:
arch: [new, old]
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
- name: Setup Xcode
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: 16.4

- name: Install dependencies (bun)
run: bun install

- name: Disable new architecture in Podfile
if: matrix.arch == 'old'
run: sed -i "" "s/ENV\['RCT_NEW_ARCH_ENABLED'\] = '1'/ENV['RCT_NEW_ARCH_ENABLED'] = '0'/g" example/ios/Podfile

- name: Setup Ruby (bundle)
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.2'
bundler-cache: true
working-directory: example/ios

- name: Install xcpretty
run: gem install xcpretty

- name: Cache CocoaPods
uses: actions/cache@v4
with:
path: |
~/.cocoapods/repos
example/ios/Pods
key: ${{ runner.os }}-pods-${{ hashFiles('example/ios/Podfile.lock') }}
restore-keys: |
${{ runner.os }}-pods-

- name: Install Pods
working-directory: example/ios
run: pod install

- name: Build App
working-directory: example/ios
run: |
set -o pipefail && xcodebuild \
CC=clang CPLUSPLUS=clang++ LD=clang LDPLUSPLUS=clang++ \
-derivedDataPath build -UseModernBuildSystem=YES \
-workspace SensitiveInfoExample.xcworkspace \
-scheme SensitiveInfoExample \
-sdk iphonesimulator \
-configuration Debug \
-destination 'platform=iOS Simulator,name=iPhone 16' \
build \
CODE_SIGNING_ALLOWED=NO | xcpretty
Loading
Loading