Migrating from 1.0.x to 1.1.x (React Native)

In version 1.1.1 we change the way of initializing DyScan and setting up the API key.

Removing API key setter

Depending on the way which you chose to use DyScan, you will need to remove following lines.

  // apiKey:'YOUR_API_KEY'
.then(card => {

.catch(() => {


Initializing DyScan

In your App.js add the following line to configure DyScan.

import React from 'react';
import {DyScan} from '@dyneti/react-native-dyscan';

const App: () => React$Node = () => {

    apiKey: 'YOUR_API_KEY',

  // some code here

export default App;

Last updated