-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Expand file tree
/
Copy pathffigen.yaml
More file actions
24 lines (23 loc) · 878 Bytes
/
ffigen.yaml
File metadata and controls
24 lines (23 loc) · 878 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Run with `dart run ffigen --config ffigen.yaml`.
name: PedometerBindings
description: "Bindings for CM pedometers"
language: objc
output: "lib/pedometer_bindings_generated.dart"
compiler-opts:
- "-F/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks"
- "-mios-version-min=13.0"
exclude-all-by-default: true
functions:
include:
- "wrapCallback"
objc-interfaces:
include:
- "CMPedometer"
- "NSDate"
- "NSDateFormatter"
headers:
entry-points:
- "src/pedometerHelper.h"
# To use this API, you must include the NSMotionUsageDescription key in your app’s Info.plist file
# and provide a usage description string for this key.
# The usage description appears in the prompt that the user must accept the first time the system asks the user to access motion data for your app.