@mcesystems/apple-kit 1.0.49 → 1.0.51

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -202,8 +202,11 @@ await device.deactivate();
202
202
  ```
203
203
 
204
204
  When `resourcesDir` is set, the activation flow reads MDM credentials from
205
- `@clientLocal.json` inside that folder and the iOS CLI binary from
206
- `resourcesDir/ios/bin/{platform}`.
205
+ `@clientLocal.json` inside that folder, plist templates from `resourcesDir/plist`,
206
+ and the iOS CLI binary from `resourcesDir/ios/bin/{platform}`.
207
+ If `resourcesDir/mdm/enrollment_{udid}.mobileconfig` or
208
+ `resourcesDir/mdm/enrollment.mobileconfig` exists, it is installed instead of
209
+ calling the MDM API (offline enrollment).
207
210
 
208
211
  ### Running Without iTunes (usbmuxd)
209
212
 
@@ -277,6 +280,9 @@ daemon.stop();
277
280
  - `isUsbmuxdRunning()`: Check if daemon is running
278
281
  - `ensureUsbmuxd()`: Start if not already running
279
282
 
283
+ To use a custom resources folder, pass it as the second parameter:
284
+ `startUsbmuxd(false, { resourcesDir: "..." })`.
285
+
280
286
  ### Types
281
287
 
282
288
  ```typescript