digilap-facebook-events
v0.0.5
Published
Digilap Solutions Private Limited plugin to fire Facebook App Events in Capacitor apps.
Maintainers
Readme
digilap-facebook-events
Plugin Used to fire facebook events
Install
npm install digilap-facebook-events
npx cap syncAPI
logEvent(...)
logEvent(options: FacebookEventOptions) => Promise<void>Log an event to Facebook App Events
| Param | Type | Description |
| ------------- | --------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- |
| options | FacebookEventOptions | Object containing: - eventName: string (required) - params: Record<string, any> (optional) |
Interfaces
FacebookEventOptions
| Prop | Type |
| --------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| eventName | string |
| params | Record<string, any> |
| userData | { email?: string; firstName?: string; lastName?: string; phone?: string; dateOfBirth?: string; gender?: string; city?: string; state?: string; zip?: string; country?: string; } |
| userId | string |
| flush | boolean |
Type Aliases
Record
Construct a type with a set of properties K of type T
{ [P in K]: T; }
