-
Notifications
You must be signed in to change notification settings - Fork 436
Update activity key in MotionActivityEvent #1524
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
Conversation
…tual union type of possible activities.
@christocracy Any progress? |
Same here with v4.9.3 of plugin TS definition:
Actual location object:
Compiles with error |
any update on this? |
@christocracy instead of removing our comments please read our code and either reject PRs with a valid reason or merge them in. We are trying to help and build this community. |
any update on this? |
The typescript API is shared with two other versions of the plugin ( |
Did you test it? |
This PR is insufficient. The problem is deeper. The problem is that the schema of BackgroundGeolocation.onLocation((location) => {
console.log('*** onLocation: ', location.activity);
});
BackroundGeolocation.onActivityChange((event) => {
console.log('***onActivityChange: ', event);
});
Also, the proposed type I will close this and fix it myself. |
@christocracy Did you fix this in the end? It seems as thought the |
This has not yet been released. It might be released tomorrow.
|
Thank you :) |
This is now released to |
@christocracy Update activity key in MotionActivityEvent and migrate
string
to actual union type of possible activities.Fixes #1523