I am trying to access Google APIs, specifically Google Drive, from an Angular NativeScript 2.5 app. To establish the OAuth2 authentication I have successfully used angular-oauth2-oidc in a web based Angular project. When I move the code into my Nativescript it crashes. Details below.
I am looking for an alternative OAuth2 solution. I am looking at nativescript-oauth but this states that Google is a work in progress due to some of their restrictions.