File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed
Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change 33The SkipDevice module is a dual-platform Skip framework that provides access to
44network reachability, location, and device sensor data.
55
6+ ## Setup
7+
8+ To include this framework in your project, add the following
9+ dependency to your ` Package.swift ` file:
10+
11+ ``` swift
12+ let package = Package (
13+ name : " my-package" ,
14+ products : [
15+ .library (name : " MyProduct" , targets : [" MyTarget" ]),
16+ ],
17+ dependencies : [
18+ .package (url : " https://source.skip.tools/skip-device.git" , " 0.0.0" ..< " 2.0.0" ),
19+ ],
20+ targets : [
21+ .target (name : " MyTarget" , dependencies : [
22+ .product (name : " SkipDevice" , package : " skip-device" )
23+ ])
24+ ]
25+ )
26+ ```
27+
628## Network Reachability
729
830You can check whether the device is currenly able to access the network with:
You can’t perform that action at this time.
0 commit comments