Skip to content

Commit

Permalink
refactor(android): use new permission annotation (#113)
Browse files Browse the repository at this point in the history
  • Loading branch information
imhoffd committed Nov 24, 2020
1 parent fbd0887 commit ac7478a
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -10,7 +10,7 @@
import com.getcapacitor.annotation.CapacitorPlugin;
import com.getcapacitor.annotation.Permission;

@CapacitorPlugin(name = "Network", permissions = { @Permission(permission = Manifest.permission.ACCESS_NETWORK_STATE) })
@CapacitorPlugin(name = "Network", permissions = { @Permission(strings = { Manifest.permission.ACCESS_NETWORK_STATE }) })
public class NetworkPlugin extends Plugin {

private Network implementation;
Expand Down

0 comments on commit ac7478a

Please sign in to comment.