From b51c296e63b47818b86c8f96674a5f6cab29fb50 Mon Sep 17 00:00:00 2001 From: Dennis Paler Date: Sat, 14 Feb 2026 10:26:58 +0800 Subject: [PATCH 1/2] chore: rebrand to @thinkgrid-labs scope --- README.md | 10 +++++----- Shield.podspec | 2 +- package.json | 8 ++++---- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 56723f5..ebec462 100644 --- a/README.md +++ b/README.md @@ -17,11 +17,11 @@ ## Installation ```sh -npm install react-native-shield +npm install @thinkgrid-labs/react-native-shield # or -yarn add react-native-shield +yarn add @thinkgrid-labs/react-native-shield # or -pnpm add react-native-shield +pnpm add @thinkgrid-labs/react-native-shield ``` ### iOS Setup @@ -37,7 +37,7 @@ cd ios && pod install Import the library in your component: ```tsx -import { isRooted, addSSLPinning, preventScreenshot } from 'react-native-shield'; +import { isRooted, addSSLPinning, preventScreenshot } from '@thinkgrid-labs/react-native-shield'; ``` ### 1. Device Integrity (Root/Jailbreak Detection) @@ -116,7 +116,7 @@ preventScreenshot(false); Store sensitive data (like auth tokens, API keys) securely. ```tsx -import { setSecureString, getSecureString, removeSecureString } from 'react-native-shield'; +import { setSecureString, getSecureString, removeSecureString } from '@thinkgrid-labs/react-native-shield'; const manageSecrets = async () => { // 1. Save a secret diff --git a/Shield.podspec b/Shield.podspec index 6970372..e026a64 100644 --- a/Shield.podspec +++ b/Shield.podspec @@ -11,7 +11,7 @@ Pod::Spec.new do |s| s.authors = package["author"] s.platforms = { :ios => min_ios_version_supported } - s.source = { :git => "https://github.com/akosidencio/react-native-shield.git.git", :tag => "#{s.version}" } + s.source = { :git => "https://github.com/ThinkGrid-Labs/react-native-shield.git", :tag => "#{s.version}" } s.source_files = "ios/**/*.{h,m,mm,swift,cpp}" s.private_header_files = "ios/**/*.h" diff --git a/package.json b/package.json index 2170bca..89afab9 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "@akosidencio/react-native-shield", + "name": "@thinkgrid-labs/react-native-shield", "version": "0.1.0", "description": "All-in-one security suite", "main": "./lib/module/index.js", @@ -47,14 +47,14 @@ ], "repository": { "type": "git", - "url": "git+https://github.com/akosidencio/react-native-shield.git.git" + "url": "git+https://github.com/ThinkGrid-Labs/react-native-shield.git" }, "author": "AkosiDencio ", "license": "MIT", "bugs": { - "url": "https://github.com/akosidencio/react-native-shield.git/issues" + "url": "https://github.com/ThinkGrid-Labs/react-native-shield/issues" }, - "homepage": "https://github.com/akosidencio/react-native-shield.git#readme", + "homepage": "https://github.com/ThinkGrid-Labs/react-native-shield#readme", "publishConfig": { "registry": "https://registry.npmjs.org/", "access": "public" From bf66364a1e4515d336540ab4a05ecd9626c81281 Mon Sep 17 00:00:00 2001 From: Dennis Paler Date: Sat, 14 Feb 2026 10:33:29 +0800 Subject: [PATCH 2/2] fix(ci): fix pnpm test args and android build dependency --- .github/workflows/ci.yml | 2 +- example/package.json | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8c3983d..b6325e0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -42,7 +42,7 @@ jobs: uses: ./.github/actions/setup - name: Run unit tests - run: pnpm test --maxWorkers=2 --coverage + run: pnpm test -- --maxWorkers=2 --coverage build-library: runs-on: ubuntu-latest diff --git a/example/package.json b/example/package.json index 83059e6..7b88604 100644 --- a/example/package.json +++ b/example/package.json @@ -24,10 +24,11 @@ "@react-native/metro-config": "0.83.0", "@react-native/typescript-config": "0.83.0", "@types/react": "^19.2.0", + "@react-native/gradle-plugin": "0.83.0", "react-native-builder-bob": "^0.40.17", "react-native-monorepo-config": "^0.3.1" }, "engines": { "node": ">=20" } -} +} \ No newline at end of file