Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Authentication Issues? Read this! #8

Closed
natereprogle opened this issue Nov 3, 2023 · 0 comments
Closed

Authentication Issues? Read this! #8

natereprogle opened this issue Nov 3, 2023 · 0 comments

Comments

@natereprogle
Copy link
Owner

natereprogle commented Nov 3, 2023

OnStarJS is the library I use to make this function. However, in order for it to work, the library has to fake being the myChevrolet app. This means that, whenever the app updates, usually this means a new App ID, App Secret, and User Agent is required. You may think, "WHY does GM keep breaking things?!" Remember, as noted in this projects README, this is an unofficial library, as GM refuses to respond to developer requests. Functionality is not guaranteed, you're at your own risk, blah blah blah; Basically, you're on your own.

The guy who makes this library is pretty good about keeping it updated. Every so often, PRs will be created by the community to update these values by extracting them from the Android APK (See this one, just submitted 2 days ago at the time of writing, 2023-11-02). What does this mean for this project? Well, in order for this project to continue functioning, it must have the latest API keys. If I forget to update it, or get behind, the plugin will start randomly failing.

To fix this, I've implemented Mend Renovate and a GitHub Action. Renovate will automatically merge any package updates into the repo, and once this happens, the GitHub Action will automatically increment the project version number and publish to NPM. This should all happen without my knowledge, however I'll of course be monitoring.

As long as the badge below is green, you're good. However, if you have any issues, please ping me here so I can manually intervene. Thanks!

NPM Package

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant