Commit Graph

217 Commits

Author SHA1 Message Date
tobiasvandriessel-infi
b17b9ecfe5 Clarify different dimensions in README.md for Android below 14 2026-03-18 13:34:20 +09:00
Lethe
bb78a402fb
fix: fix build web (#126)
#125 

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

## Version 2.4.1

* **New Features**
  * Added web platform support to extend compatibility to browsers.

* **Bug Fixes**
* Improved platform detection with safe no-op behavior and warnings on
unsupported platforms while preserving existing APIs.

* **Chores**
  * Patch version update (2.4.0 → 2.4.1)

* **Notes**
  * Public API surface remains unchanged.

<sub>✏️ Tip: You can customize this high-level summary in your review
settings.</sub>
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-01-24 18:39:32 +09:00
Lethe
8efff67aed fix: remove return value 2026-01-24 18:33:36 +09:00
Lethe
b38da3afba chore: add console.warn for unsupport platform 2026-01-24 18:32:26 +09:00
Lethe
ff9c4424ad fix: support web 2026-01-24 18:13:35 +09:00
Lethe
fe7520bde9
fix: Modify productFlavors description (#123)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **New Features**
  * Added optional capture detection support for Android 10–13 devices.

* **Chores**
  * Updated version to 2.4.0.
* Revised Android configuration strategy with updated default settings
and optional capture detection guidelines.
  * Streamlined configuration naming for improved clarity.

<sub>✏️ Tip: You can customize this high-level summary in your review
settings.</sub>

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-12-26 13:54:23 +09:00
Lethe
260afaf5d0 fix: productFlavors 2025-12-26 13:31:53 +09:00
Lethe
5e9ea96dae
fix: static property 'config' is not concurrency-safe (#121)
#116 

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **Chores**
* Released version 2.3.5 with stability improvements and internal
refinements.

<sub>✏️ Tip: You can customize this high-level summary in your review
settings.</sub>

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-11-30 18:44:09 +09:00
Lethe
1e254d16bd fix: config is immutable 2025-11-30 12:44:32 +09:00
Lethe
8a6f9d996b
fix: export mock file (#119)
fix #117 

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **Chores**
  * Bumped package version to 2.3.4
  * Added new export path for Jest capture protection mock functionality

<sub>✏️ Tip: You can customize this high-level summary in your review
settings.</sub>

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-11-24 22:17:14 +09:00
Lethe
18d6161766 fix: export mock file 2025-11-24 22:05:59 +09:00
Lethe
d2999923c1
release: 2.3.3 (#115)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **Chores**
  * Version bumped to 2.3.3
* Enhanced module export configuration for improved environment
compatibility
* Updated core dependencies including React and Expo ecosystem packages
  * Streamlined build pipeline configuration

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-11-01 20:22:07 +09:00
Lethe
7503c84fc1 chore: remove xcuserdata 2025-11-01 20:14:28 +09:00
Lethe
39114342fd fix: Package does not contain valid config plugin 2025-11-01 19:40:26 +09:00
Lethe
1cc3830f37
chore: update READ_MEDIA_IMAGES permission for SDK versions (#113)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **Bug Fixes**
* Updated Android media permissions configuration to support
compatibility with Android 14 and newer devices.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-10-31 21:57:19 +09:00
Lethe
9e09682fee
chore: update READ_MEDIA_IMAGES permission for SDK versions 2025-10-27 08:09:20 +09:00
Lethe
aacb1d5d8b chore: change dependencies for expo-dev-client 2025-10-09 14:06:42 +09:00
Lethe
4fc7a97d15 docs: update readme for jest 2025-10-09 14:06:42 +09:00
Lethe
f3fbbd9717 feat: support mock 2025-10-09 14:06:42 +09:00
Lethe
bd8c72cb23 fix: add expo-dev-client for dependencies 2025-10-09 14:06:42 +09:00
Lethe
e6a6640dc7 fix: add turbo.json 2025-09-17 21:15:52 +09:00
Lethe
8da9d38220
fix: codegen (#106)
#105 #95 #102 

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

* **New Features**
  * Added repo-level build pipelines for Android and iOS.
* Publish now includes compiled outputs with dual ESM/CommonJS bundles
and updated TypeScript typings path.

* **Chores**
* Bumped package version to 2.3.0; upgraded React ecosystem and dev
tooling.
* Expanded Android build sources for new architecture and enabled
BuildConfig exposure.
  * Streamlined codegen outputs and adjusted TypeScript build excludes.
  * Updated Android build tool and NDK version settings.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-08-23 21:12:56 +09:00
Lethe
66dc6639a4 chore: get agp_version 2025-08-23 21:06:34 +09:00
Lethe
98ca38002b fix: codegen not work 2025-08-23 20:50:04 +09:00
Lethe
34500d10fc fix: codegen 2025-08-23 15:37:27 +09:00
Lethe
f1a4016fa1
feature: support new architecture (#104)
support new architecture with issue #95 

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

* **New Features**
* Improved capture-protection: screenshot and screen-recording
detection, multi-display support, and Android 14 capture permission when
available.

* **Refactor**
* Migrated native module toward React Native’s new architecture
(TurboModule) with typed native specs for iOS and Android.

* **Chores**
* Version bumped to 2.2.0; updates to Kotlin/NDK/Gradle; added codegen
config and build target; simplified Android build/repository
configuration.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-08-19 22:23:13 +09:00
Lethe
892e898810 fix: guard reactCurrentActivity 2025-08-19 22:04:42 +09:00
Lethe
0c540b9ea1 chore: check is support turboModule 2025-08-19 21:40:34 +09:00
Lethe
da40b04204 feat: support android new archtiecture 2025-08-19 21:06:53 +09:00
Lethe
238e693c87 chore: override listeners
not work turbo module in new arch
2025-08-17 21:54:00 +09:00
Lethe
ba6fa6dec0 chore: separate old, new arch but new arch is not work 2025-08-17 21:12:12 +09:00
Lethe
c53ed278cf chore: sperate android 2025-08-17 20:35:10 +09:00
Lethe
2d89d4eaf1 feat: support ios new architecture 2025-08-17 19:44:52 +09:00
Lethe
7480025ed6
fix: currentActivity -> getCurrentActivity (#103)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* New Features
  * No user-facing feature changes.

* Bug Fixes
* Improved reliability of Android screen capture protection by
standardizing activity access and safeguarding UI-thread operations,
reducing rare crashes.
* Enhanced error handling so JavaScript promises are consistently
rejected on failures, providing clearer error reporting and more
predictable behavior.

* Chores
  * Bumped package version to 2.1.2.
  * No API changes.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-08-16 20:14:01 +09:00
Lethe
3cb441e1d2 fix: currentActivity -> getCurrentActivity 2025-08-16 20:07:23 +09:00
Lethe
65dcb8ab6f chore: release 2.1.1 2025-07-05 15:37:20 +09:00
Lethe
e5dc3bc239 fix: fixed state being added to infinity on prebuild 2025-07-05 15:37:20 +09:00
Bean
c907529653 docs: add missing pod install step for IOS 2025-07-05 15:31:12 +09:00
Lethe
4b641e7e8c feat: support expo plugin 2025-06-28 11:44:59 +09:00
Lethe
c0cebd8edd fix: set Locale in lowercase 2025-06-16 20:40:51 +09:00
Lethe
e7f5ee70ab fix: toLowercase is deprecated 2025-06-16 20:40:51 +09:00
Lethe
2bf0a0c760
docs: require setting android 2025-06-16 14:57:03 +09:00
Lethe
a40b78db79 fix: preventAppSwitcher is call main thread 2025-06-13 22:13:21 +09:00
Lethe
a05c0710a3 chore: extract hardcoded flavor string to a constant 2025-06-09 21:56:25 +09:00
Lethe
380c0aa9e8 chore: separate android flavors with permission 2025-06-09 21:56:25 +09:00
Lethe
54d9009d8c
feat: iOS modals not being hidden (#84)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **Bug Fixes**
- Improved the reliability of screen recording and app switcher
protection overlays on iOS.
- **Chores**
	- Updated the package version to 2.0.7.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-05-13 11:18:12 +09:00
lethe
f79e0df87f feat: iOS modals not being hidden 2025-05-13 11:09:47 +09:00
Lethe
34979a3253
fix: contentMode is not require (#83)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **Bug Fixes**
- Ensured default values are applied for background color and content
mode when preventing app switcher and screen recording on iOS, improving
reliability.

- **Chores**
  - Updated package version to 2.0.6.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-05-13 08:43:31 +09:00
lethe
33e959498e fix: contentMode is not require 2025-05-13 08:38:21 +09:00
Lethe
761d0d7d89
release: 2.0.5 (#82)
fixed #81 

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **New Features**
- Added support for customizing the background color and image content
mode when using image-based screen recording and app switcher
protections on iOS.
- Introduced a new set of content mode options to control how images are
displayed.

- **Chores**
  - Updated the package version to 2.0.5.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-05-12 21:01:22 +09:00