Coder Social home page Coder Social logo

xunholy / cordova-device-accounts-v2 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from danielsogl/cordova-device-accounts

2.0 2.0 4.0 103 KB

Cordova plugin to prompt a user for access to their device accounts

License: Apache License 2.0

Java 75.96% JavaScript 24.04%

cordova-device-accounts-v2's Introduction

Typing SVG

Typing SVG


I'm Michael Fornaro, a tech enthusiast with a passion for exploring the latest technologies and pushing the boundaries of what's possible. When I'm not busy tinkering with code, you can find me spending time with my family or enjoying the great outdoors.

I'm proud to have been involved in multiple CNCF projects and to have founded Raspbernetes and heavily involved in the kubernetes@home organizations here on Github. These projects are a testament to my commitment to innovation and to creating communities that share in that vision.

Feel free to take a look around and explore my projects. I hope you find them as inspiring and exciting as I do. And if you have any questions or want to connect, don't hesitate to reach out!

Cheers!


cordova-device-accounts-v2's People

Contributors

danielsogl avatar endarebrock avatar loicknuchel avatar renovate-bot avatar xunholy avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

cordova-device-accounts-v2's Issues

get() returns empty array in Android 10

get() is returning an empty array on my Android 10 device, although it returns a list of accounts on an Android 6.0.1 test device.

In AndroidManifest.xml, I have set the following permissions:
GET_ACCOUNTS
GET_ACCOUNTS_PRIVILEGED

Ominously, Android Studio underlines the GET_ACCOUNTS_PRIVILEGED line with the message "Permission is only granted to system apps". Is this feature no longer supported since some version of Android, or is there a workaround?

See: https://stackoverflow.com/questions/53989497/ionic-4-cordova-get-device-accounts

Setup CI pipeline

Create a travis CI pipeline including testing on previous Android versions.

Get Accounts returning Empty array

In android version 10 get Account returning an empty array, but other versions which are less than 10 returning accounts. Is any workaround or solution available for this issue?

How to get selectedAccount from AccountPicker

Thanks for your work @xUnholy !

Please is there a way to get the email account selected from the account picker.

I carefully went through the android java source code DeviceAccount.java, comparing it with the google developer documentation here https://developers.google.com/android/reference/com/google/android/gms/common/AccountPicker

and realized the absence of the line of code
String accountName = data.getStringExtra(AccountManager.KEY_ACCOUNT_NAME);
which I think should be responsible for obtaining the selected email account.

Please can you help? Very much appreciated. Thanks

getPermissions does not resolve/reject

Under Android 8.0 the plugin does work fine.
But i need to retrieve a non google account which is not an option by .getPermissions.

My flow is as follows->
androidPermissions.getPermissions => deviceAccounts.getPermissions => deviceAccounts.getByType. All functions are promises but the deviceAccounts.getPermissions does not resolve or reject. thus never firing the getByType.

The deviceAccounts.getPermissions does give me a popup with Google accounts but not any others. When selecting a google account and confirming it. No callback is being fired.

< 8.0.0 works fine

Ionic 3 : Access to Account Manager not working / this.deviceAccounts.get()

Ionic 3 : Access to Account Manager not working.

this.deviceAccounts.get() return empty ARRAY.

**Target is Android 10 **

ionic info
Ionic:
Ionic CLI : 6.12.1 Ionic Framework : ionic-angular 3.1.1 @ionic/app-scripts : 3.2.4

Cordova:
Cordova CLI : 10.0.0 Cordova Platforms : 5.0.4, android 8.0.0, browser Cordova Plugins : not available

Utility:
cordova-res : not installed native-run : 0.2.9
System:
Android SDK Tools : 26.1.1 NodeJS : v12.18.3 (C:\Program Files\nodejs\node.exe) npm : 6.14.8 OS : Windows 10

Thanks

Support iOS

Currently only supports the Android platform, however, iOS should also be supported.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.