freerasp-react-native 3.3.0 → 3.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  ![FreeRasp](https://raw.githubusercontent.com/talsec/Free-RASP-Community/master/visuals/freeRASPforRN.png)
2
2
 
3
- ![GitHub Repo stars](https://img.shields.io/github/stars/talsec/Free-RASP-Community?color=green) ![GitHub](https://img.shields.io/github/license/talsec/Free-RASP-Community) ![GitHub](https://img.shields.io/github/last-commit/talsec/Free-RASP-Community) ![Publisher](https://img.shields.io/pub/publisher/freerasp)
3
+ ![GitHub Repo stars](https://img.shields.io/github/stars/talsec/Free-RASP-Community?color=green) ![GitHub](https://img.shields.io/github/license/talsec/Free-RASP-Community) ![GitHub](https://img.shields.io/github/last-commit/talsec/Free-RASP-Community) ![Publisher](https://img.shields.io/pub/publisher/freerasp) [![42matters](https://42matters.com/badges/sdk-installations/freerasp)](https://42matters.com/sdks/android/freerasp)
4
4
 
5
5
  # freeRASP for React Native
6
6
 
@@ -25,7 +25,7 @@ freeRASP for React Native is a mobile in-app protection and security monitoring
25
25
  - [Step 6: User Data Policies](#step-6-user-data-policies)
26
26
  - [Troubleshooting](#troubleshooting)
27
27
  - [Security Report](#security-report)
28
- - [Commercial versions (RASP+ and more)](#bar_chart-commercial-versions-rasp-and-more)
28
+ - [Talsec Commercial Subscriptions](#money_with_wings-talsec-commercial-subscriptions)
29
29
  - [Plans Comparison](#plans-comparison)
30
30
  - [About Us](#about-us)
31
31
  - [License](#license)
@@ -147,7 +147,7 @@ const config = {
147
147
  androidConfig: {
148
148
  packageName: 'com.awesomeproject',
149
149
  certificateHashes: ['your_signing_certificate_hash_base64'],
150
- // supportedAlternativeStores: ['storeOne', 'storeTwo'],
150
+ supportedAlternativeStores: ['com.sec.android.app.samsungapps'],
151
151
  },
152
152
  iosConfig: {
153
153
  appBundleId: 'com.awesomeproject',
@@ -164,7 +164,7 @@ const config = {
164
164
 
165
165
  - `packageName` _: string_ - package name of your app you chose when you created it
166
166
  - `certificateHashes` _: string[]_ - hash of the certificate of the key which was used to sign the application. **Hash which is passed here must be encoded in Base64 form.** If you are not sure how to get your certificate hash, you can check out the guide on our [Github wiki](https://github.com/talsec/Free-RASP-Community/wiki/Getting-your-signing-certificate-hash-of-app). Multiple hashes are supported, e.g. if you are using a different one for the Huawei App Gallery.
167
- - `supportedAlternativeStores` _: string[] | undefined_ - If you publish on the Google Play Store and/or Huawei AppGallery, you **don't have to assign anything** there as those are supported out of the box.
167
+ - `supportedAlternativeStores` _: string[] | undefined_ - Google Play Store and Huawei AppGallery are supported out of the box, you **don't have to assign anything**. You can add other stores like the Samsung Galaxy Store in the example code (```com.sec.android.app.samsungapps```). For more information, visit the [Detecting Unofficial Installation](https://github.com/talsec/Free-RASP-Community/wiki/Threat-detection#detecting-unofficial-installation) wiki page.
168
168
 
169
169
  1. `iosConfig` _: object | undefined_ - required for iOS devices, has following keys:
170
170
  - `appBundleId` _: string_ - Bundle ID of your app
@@ -364,6 +364,19 @@ useEffect(() => {
364
364
 
365
365
  Where `actions`, `config` are objects described in previous chapters.
366
366
 
367
+ ### Unsupported Swift architecture
368
+
369
+ **Reason:**
370
+ The arm64 macro is not set under Rosetta.
371
+
372
+ **Solution:**
373
+ Go to `<your_project>/node_modules/freerasp-react-native/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/TalsecRuntime-Swift.h` and move following code (lines 4 and 5 in the file) to the top of the file:
374
+
375
+ ```
376
+ #ifndef TALSECRUNTIME_SWIFT_H
377
+ #define TALSECRUNTIME_SWIFT_H
378
+ ```
379
+
367
380
  # Security Report
368
381
 
369
382
  The Security Report is a weekly summary describing the application's security state and characteristics of the devices it runs on in a practical and easy-to-understand way.
@@ -374,22 +387,28 @@ To receive Security Reports, fill out the _watcherMail_ field in [config](#confi
374
387
 
375
388
  ![dashboard](https://raw.githubusercontent.com/talsec/Free-RASP-Community/master/visuals/dashboard.png)
376
389
 
377
- # :bar_chart: Commercial versions (RASP+ and more)
390
+ # :money_with_wings: Talsec Commercial Subscriptions
391
+ Talsec offers commercial plans on top of freeRASP (Business RASP+):
392
+ * No limits of Fair Usage Policy (100K App Downloads)
393
+ * No Data Collection from your app
394
+ * FinTech grade security, features and SLA (see more in [this post](https://github.com/orgs/talsec/discussions/5))
395
+ * Protect APIs and risk scoring by AppiCrypt®
378
396
 
379
- We provide app security hardening SDK: i.e. AppiCrypt®, Customer Data Encryption (local storage), End-to-end encryption, Strings protection (e.g. API keys) and Dynamic Certificate Pinning to our commercial customers as well. To get the most advanced protection compliant with PSD2 RT and eIDAS and support from our experts, contact us at [talsec.app](https://talsec.app).
397
+ Learn more at [talsec.app](https://talsec.app).
380
398
 
381
- The commercial version provides a top-notch protection level, extra features, support, and maintenance. One of the most valued commercial features is [AppiCrypt®](https://www.talsec.app/appicrypt) - App Integrity Cryptogram.
399
+ Not to overlook, the one of the most valued commercial features is [AppiCrypt®](https://www.talsec.app/appicrypt) - App Integrity Cryptogram.
382
400
 
383
- It allows easy to implement API protection and App Integrity verification on the backend to prevent API abuse:
401
+ It allows easy-to-implement API protection and App Integrity verification on the backend to prevent API abuse:
384
402
 
385
- - Bruteforce attacks
386
- - Botnets
387
- - Session-hijacking
388
- - DDoS
403
+ - Bruteforce attacks
404
+ - Botnets
405
+ - API abuse by App impersonation
406
+ - Session-hijacking
407
+ - DDoS
389
408
 
390
409
  It is a unified solution that works across all mobile platforms without dependency on external web services (i.e., without extra latency, an additional point of failure, and maintenance costs).
391
410
 
392
- Learn more about commercial features at [https://talsec.app](https://talsec.app/).
411
+ Learn more about commercial features at [talsec.app](https://talsec.app).
393
412
 
394
413
  **TIP:** You can try freeRASP and then upgrade easily to an enterprise service.
395
414
 
@@ -85,7 +85,7 @@ dependencies {
85
85
  //noinspection GradleDynamicVersion
86
86
  implementation "com.facebook.react:react-native"
87
87
  implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
88
- implementation "com.aheaditec.talsec.security:TalsecSecurity-Community-ReactNative:8.0.4"
88
+ implementation "com.aheaditec.talsec.security:TalsecSecurity-Community-ReactNative:8.3.0"
89
89
  }
90
90
 
91
91
  if (isNewArchitectureEnabled()) {
@@ -14,7 +14,8 @@ Pod::Spec.new do |s|
14
14
  s.platforms = { :ios => "11.0" }
15
15
  s.source = { :git => "https://github.com/talsec/freerasp-react-native.git", :tag => "#{s.version}" }
16
16
 
17
- s.source_files = "ios/**/*.{h,m,mm,swift}"
17
+ s.source_files = 'ios/*.{h,m,mm,swift}', 'ios/TalsecRuntime.xcframework'
18
+ s.xcconfig = { 'OTHER_LDFLAGS' => '-framework TalsecRuntime' }
18
19
  s.ios.vendored_frameworks = "ios/TalsecRuntime.xcframework"
19
20
 
20
21
  s.dependency "React-Core"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "freerasp-react-native",
3
- "version": "3.3.0",
3
+ "version": "3.4.0",
4
4
  "description": "React Native plugin for improving app security and threat monitoring on Android and iOS mobile devices.",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",