Encryption with Ionic

Copy the stock webpack.config.js from node_modules/@ionic/app-scripts/config/ somewhere and make it active using the steps described in “overriding config scripts” here. Add the following stanza to the module.exports:

  externals: {
    "crypto": "crypto"
  },

That should be sufficient.

I like Square’s library, but I’m biased because I’m a contributor to the project.

Square’s library has them.

not able to find

declarations.d.ts

please help. how I can make it manually?

Did you read the rest of the thread?

I’m not work with ionic 3 and don’t know why they remove declarations.d.ts and how to work with third party libraries now. But you can create it manually. For example:

  1. create declarations.d.ts in src folder
  2. modify tsconfig.json include section
"include": [
        "src/declarations.d.ts",
        "src/**/*.ts"
    ],

Yes … I read it.
That doesn’t work for me. that’s y I was thinking this could reason.

Thanks @snikh
the thing is works for is that. —>>

IMHO the entire premise of this thread is radioactively stupid, which is why I asked you to read it all.

Ohhhh … I feel the same :smile: :joy: :joy:

This might solve your problem.

It uses secure encryption algorithm and is compatible with ionic 3 and ionic 4 applications.

ttps://github.com/jonpecson/ionic3-password-manager