8.4.24 • Published 4 months ago

jscrambler-metro-plugin v8.4.24

Weekly downloads
210
License
MIT
Repository
github
Last release
4 months ago

Jscrambler

Jscrambler Code Integrity for React-Native (Metro Bundler)

Jscrambler Code Integrity is a JavaScript protection technology for Web and Mobile Applications. Its main purpose is to enable JavaScript applications to become self-defensive and resilient to tampering and reverse engineering.

If you're looking to gain control over third-party tags and achieve PCI DSS compliance please refer to Jscrambler Webpage Integrity.

Version Compatibility

The version's compatibility table match your Jscrambler Version with the Jscrambler Metro Plugin. Please make sure you install the right version, otherwise some functionalities might not work properly.

Jscrambler VersionClient and Integrations
<= 7.1<= 5.x.x
>= 7.2>= 6.0.0

Usage

This metro plugin protects your React Native bundle using Jscrambler.

Include the plugin in your metro.config.js and add the following code:

const {resolve} = require('path');
const jscramblerMetroPlugin = require('jscrambler-metro-plugin')(
  /* optional */
  {
    enable: true,
    enabledHermes: false, // set if you are using hermes engine
    ignoreFile: resolve(__dirname, '.jscramblerignore'),
    params: [
      {
        name: 'selfDefending',
        options: {
          threshold: 1
        }
      }
    ]
  }
);

module.exports = jscramblerMetroPlugin;

You can pass your Jscrambler configuration using the plugin parameter or using the usual .jscramblerrc file.

If you use a different location for the .jscramblerignore file, you can use the ignoreFile option to tell Jscrambler the path to the file. Otherwise, if a .jscramblerignore file is found in a project root folder, it will be considered. You can find more information and examples in Ignoring Files.

By default, Jscrambler protection is ignored when bundle mode is set for Development. You can override this behavior by setting env variable JSCRAMBLER_METRO_DEV=true

In order to activate source map generation effectively, you will need to enable source maps both in the Jscrambler configuration file, by adding the following parameter to said file:

... "sourceMaps": true, ...

and in the React Native app.

8.4.11

8 months ago

8.4.12

8 months ago

8.4.13

8 months ago

8.4.14

8 months ago

8.4.15

6 months ago

8.4.16

5 months ago

8.4.17

5 months ago

8.4.15-next.3

7 months ago

8.4.18

5 months ago

8.4.15-next.2

7 months ago

8.4.19

5 months ago

8.4.15-next.1

7 months ago

8.4.15-next.0

7 months ago

8.4.10

8 months ago

8.4.22

4 months ago

8.4.23

4 months ago

8.4.24

4 months ago

8.4.20

5 months ago

8.4.21

4 months ago

8.4.9

9 months ago

8.4.8

9 months ago

8.4.5

10 months ago

8.4.4

10 months ago

8.4.7

10 months ago

8.4.6

10 months ago

8.4.3

10 months ago

8.4.1

1 year ago

8.4.2

1 year ago

8.4.0

1 year ago

6.5.3

1 year ago

6.5.2

1 year ago

6.5.1

1 year ago

6.5.0

1 year ago

6.4.32-alpha.0

1 year ago

6.4.31

1 year ago

6.4.30

1 year ago

6.4.29

1 year ago

6.4.28

1 year ago

6.4.25

1 year ago

6.4.27

1 year ago

6.4.26

1 year ago

6.4.23

1 year ago

6.4.24

1 year ago

6.4.21

2 years ago

6.4.20

2 years ago

6.4.18

2 years ago

6.4.17

2 years ago

6.4.19

2 years ago

6.4.16

2 years ago

6.4.15

2 years ago

6.4.12

2 years ago

6.4.14

2 years ago

6.4.7

2 years ago

6.4.9

2 years ago

6.4.8

2 years ago

6.4.10

2 years ago

6.3.0

3 years ago

6.3.2

3 years ago

6.4.3

3 years ago

6.4.2

3 years ago

6.4.5

3 years ago

6.4.4

3 years ago

6.4.6

3 years ago

6.4.1

3 years ago

6.4.0

3 years ago

6.2.5

3 years ago

6.2.4

3 years ago

6.2.6

3 years ago

6.2.9

3 years ago

6.2.8

3 years ago

6.2.3

3 years ago

6.2.2

3 years ago

6.1.4

3 years ago

6.1.3

3 years ago

6.2.1

3 years ago

6.2.0

3 years ago

6.1.6

3 years ago

6.1.5

3 years ago

6.1.2

3 years ago

6.1.0

3 years ago

6.0.1

4 years ago

6.0.0

4 years ago

6.0.3

3 years ago

6.1.1

3 years ago

6.0.4

3 years ago

5.5.35

4 years ago

5.5.34

4 years ago

5.5.33

4 years ago

5.5.32

4 years ago

5.5.31

4 years ago

5.5.30

4 years ago

5.5.29

4 years ago

5.5.26

4 years ago

5.5.27

4 years ago

5.5.25

4 years ago

5.5.23

4 years ago

5.5.21

4 years ago

5.5.20

5 years ago

5.5.19

5 years ago

5.5.18

5 years ago

5.5.16

5 years ago

5.5.15

5 years ago

5.5.14

5 years ago

5.5.13

5 years ago

5.5.12

5 years ago

5.5.11

5 years ago

5.5.10

5 years ago

5.5.9

5 years ago

5.5.8

5 years ago

5.5.7

5 years ago

5.5.6

5 years ago

5.5.5

5 years ago

5.5.4

5 years ago

5.5.3

5 years ago

5.5.2

5 years ago

5.5.1

5 years ago

5.5.0

5 years ago

5.4.3

5 years ago

5.4.2

5 years ago

5.4.1

6 years ago

5.4.0

6 years ago

5.3.8

6 years ago

5.3.7

6 years ago

5.3.6

6 years ago

5.3.5

6 years ago