Hi Selva,
That action has a Success flag that indicates you if there was any error, you are not doing this checking so you don't know if something went wrong (the application does not have the plugin, the user does not have GPS turned on, etc.).

You probably want to check the Error output if Success = False.
You can of course debug your application and see what is going wrong.