2.0.0 • Published 5 months ago

capacitor-ios-autofill-save-password v2.0.0

Weekly downloads
200
License
MIT
Repository
github
Last release
5 months ago

Installation

npm i capacitor-ios-autofill-save-password
npx cap sync

Prerequisite

You must set up your app’s associated domains. To learn how to set up your app’s associated domains, see Supporting Associated Domains in Apple Developer document.

How to use

import { Capacitor } from '@capacitor/core';
import { SavePassword } from 'capacitor-ios-autofill-save-password';
    
login(username: string, password: string) {
    // your login logic here
        
    // call the plugin if login is successful on iOS
    if (Capacitor.getPlatform() === 'ios') {
        SavePassword.promptDialog({
            username: username,
            password: password,
        })
        .then(() => console.log('promptDialog success'))
        .catch((err) => console.error('promptDialog failure', err));
    }
}
1.1.6

5 months ago

2.0.0

5 months ago

1.1.5

11 months ago

1.1.4

2 years ago

1.1.3

2 years ago

1.1.1

3 years ago

1.1.2

3 years ago

1.1.0

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago