Feature Request: Add Support for createCredential Method in Android Credential Manager
Objective:
Implement the createCredential method to allow users to securely save their credentials (username and password, etc) to the Android Credential Manager through the SmartAuth Flutter package.
Tasks:
-
Research Android Credential Manager API:
- Review the
createCredential method in the Android Credential Manager documentation.
- Understand the required permissions and configurations to save credentials.
-
Native Android Implementation:
- Implement the
createCredential functionality in Android using the Credential Manager API.
-
Flutter Integration:
- Create a dedicated Dart method to call the native Android implementation via Pigeon generated API.
- Example API:
Future<SmartAuthResult> createCredential(params);
-
Handle Edge Cases:
- Handle scenarios such as:
- Invalid or empty credentials.
- Permissions denied by the user.
- System-level errors or unsupported devices.
- Provide meaningful error messages for these cases.
-
Update Documentation:
- Add a section to the SmartAuth documentation explaining:
- How to use
createCredential.
- The purpose and benefits of saving credentials.
- Any Android-specific requirements, such as API level.
- Provide code examples for integration.
-
Enhance the Sample App:
- Add functionality to the sample app to demonstrate saving credentials using
createCredential.
- Include clear UI prompts and interactions for testing.
Feature Request: Add Support for
createCredentialMethod in Android Credential ManagerObjective:
Implement the
createCredentialmethod to allow users to securely save their credentials (username and password, etc) to the Android Credential Manager through the SmartAuth Flutter package.Tasks:
Research Android Credential Manager API:
createCredentialmethod in the Android Credential Manager documentation.Native Android Implementation:
createCredentialfunctionality in Android using the Credential Manager API.Flutter Integration:
Handle Edge Cases:
Update Documentation:
createCredential.Enhance the Sample App:
createCredential.