Get KeyChainService Value from iOS

Actually we are migrating our iOS project into ionic one.
So the new project need to get some data from the iOS one, we try with UserDefaults and we don’t have problem to get UserDefaults value, but we didn’t find solution for KeyChain.

Configuration :

Ionic:

   Ionic CLI                     : 6.12.3
   Ionic Framework               : @ionic/angular 5.6.5
   @angular-devkit/build-angular : 0.901.15
   @angular-devkit/schematics    : 9.1.15
   @angular/cli                  : 9.1.15
   @ionic/angular-toolkit        : 2.3.3

Capacitor:

   Capacitor CLI   : 3.0.0-rc.1
   @capacitor/core : 3.0.0-rc.1

Cordova:

   Cordova CLI       : 9.0.0 (cordova-lib@9.0.1)
   Cordova Platforms : none
   Cordova Plugins   : no whitelisted plugins (0 plugins total)

Utility:

   cordova-res : 0.15.3
   native-run  : 1.3.0

System:

   NodeJS : v15.5.1 (C:\Program Files\nodejs\node.exe)
   npm    : 6.14.11
   OS     : Windows 10

I’m trying to access the Keychain value in my Ionic application, but it’s not working.


    private static let keySeed = "***.***.app.key.Seed"
    private static let keyIV = "***.***.app.key.IV"

    let seed = load(withKey: KeychainService.keySeed)
    let IV = load(withKey: KeychainService.keyIV)

We try some plugins but still not getting any value :
We try : Ionic Native - Keychain

  this.keychain.get("***.***.app.key.Seed")
    .then(value => console.log('Got value', value))
    .catch(err => console.error('Error getting', err));
})

Value : null

We try with Storage - Ionic Framework with the keys() function, but also there not available to find any keys (KeyChain) from our project.

What am I missing?

Thanks