-
Notifications
You must be signed in to change notification settings - Fork 226
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
Fixed crashes with Tasker plugin actions when using minified code #543
Fixed crashes with Tasker plugin actions when using minified code #543
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Interesting. I didn't even think about the class files getting stripped out when I was reviewing this initially. Good reminder to be careful about that. Thanks for tracking down the issue and fixing this!
I'm not sure we'll be able to get this into 7.26, so could you add a 7.27 release note, and then we can merge this?
Ok, updated. Thanks. A shame the first release with Tasker integration doesn't work. 😣Is the version with Tasker already available for everyone? Or just in beta? Thanks again! |
It's in beta. If we have to update the beta for any other reason, we'll try to get this in too, but since this isn't a regression (on account of it never working in release builds 😞 ) I don't think this alone quite justifies cutting a new beta release (there's a fair bit of work around cutting a new release, and it would mean that all of our beta users would be downloading another apk, which we try to minimize). |
Sure, I understand. Since it's in beta I don't think it's that big of an issue. I was getting worried that everyone in PR would have a broken Tasker integration. 😅 Hope it works now! |
They will when the beta gets released as 7.26 in a week or so. 😞 Fortunately, they never had Tasker integration before, so it's at least not breaking existing functionality. We'll keep this in mind though, and see if we can get it in before 7.26 is released. |
Oh I see. That is unfortunate... Maybe it's best that this is tested on a real release build then, just to make sure that we didn't miss anything else related to it being built that way. Unfortunately I'm not able to do a proper release build, I always get the following error:
Any way around that? Would be great to make sure that everything is working in a proper installation from a release APK. |
I'm not sure there's a way around it short of you creating your own google project with our release package name and getting your own google-services. json file from that (to be clear, I'm not suggesting you actually do that 😄, but I'm not sure there's a better way for you to make an actual release build ). But I did test this with a release build when I reviewed the PR this time, and it worked fine, so I think we're good. |
Awesome! :) Thank you for testing! |
Fixed crashes with Tasker plugin actions when using minified code
Fixed crashes with Tasker plugin actions when using minified code
This is included in a new beta |
Thank you very much for including it early!! |
Description
The Tasker plugin code has an issue that only occurs when code is minified (ie in release builds) that is fixed here. This bug is preventing the Tasker actions from being used at all.
Testing Instructions
minifyEnabled true