Skip to content
This repository was archived by the owner on Feb 2, 2021. It is now read-only.

Conversation

@nsndeck
Copy link
Contributor

@nsndeck nsndeck commented Nov 11, 2016

Can be useful for some scenarios like granting permissions for application via adb (automating testing process). Granting permissions require app to be deployed on device in order to work, so after-prepare hook cannot be used.

@justcodebuilduser
Copy link

💔

@nsndeck nsndeck force-pushed the nnikolov/InstallHook branch from cca5ef3 to 8b7308a Compare November 11, 2016 12:43
Copy link
Contributor

@hdeshev hdeshev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK after fixing the $hooksService injects.


constructor(protected $logger: ILogger) {
constructor(protected $logger: ILogger,
protected $hooksService: IHooksService) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

$hooksService seems unused. Why inject it all over the place?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Turns out the hook decorator needs that. It looks like we need to kill this decorator and move this feature to a method of the hook service (outside of scope for this PR).

@justcodebuilduser
Copy link

💔

@nsndeck nsndeck force-pushed the nnikolov/InstallHook branch from 8b7308a to 0ea70d9 Compare November 11, 2016 13:25
@justcodebuilduser
Copy link

❤️

Copy link
Collaborator

@rosen-vladimirov rosen-vladimirov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After fixing comment.
Great work

$logger: ILogger) {
super($logger);
$logger: ILogger,
$hooksService: IHooksService) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these should be tabs

@nsndeck nsndeck force-pushed the nnikolov/InstallHook branch from 0ea70d9 to 259100a Compare November 14, 2016 07:09
@justcodebuilduser
Copy link

💔

@nsndeck
Copy link
Contributor Author

nsndeck commented Nov 14, 2016

run ci

@justcodebuilduser
Copy link

💔

@rosen-vladimirov
Copy link
Collaborator

run ci

@justcodebuilduser
Copy link

❤️

@nsndeck nsndeck merged commit f07714f into master Nov 14, 2016
@nsndeck nsndeck deleted the nnikolov/InstallHook branch November 14, 2016 09:11
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants