GetFeedback for Apps allows you to collect feedback from your users with great ease and flexibility. This Capacitor bridge to the Native GetFeedback / Usabilla SDK allows you to load passive feedback forms or campaigns and submit results from an Ionic Capcitor app. This release uses the GetFeedback / Usabilla SDK for ios v6.10+ and android v7.+.
Note : We have introducing a new feature Standard Events from v1.1.0 onwards Click here to read more about Standard Events.
The installation of this SDK consists of two parts, one part for your projects a whole and the second part for iOS(#ios) and Android(#android) specifically. To install the GetFeedback SDK into your Ionic Application: Installation
In a terminal window, navigate to the root directory of your project and run :
npm i -S https://github.com/GetFeedback/getfeedback-g4a-capacitor.gitor
npm install getfeedback-capacitor
npx cap syncTo read in detail about all the features for the SDK
initialize(...)standardEvents(...)setDebugEnabled(...)setCustomVariables(...)loadFeedbackForm(...)loadFeedbackFormWithCurrentViewScreenshot(...)sendEvent(...)resetCampaignData()dismiss()loadLocalizedStringFile(...)preloadFeedbackForms(...)removeCachedForms()setDataMasking(...)getDefaultDataMasks()- Type Aliases
initialize(options: { appID: string; }) => void| Param | Type |
|---|---|
options |
{ appID: string; } |
standardEvents(callback: standardEventsCallback) => Promise<CallbackID>| Param | Type |
|---|---|
callback |
standardEventsCallback |
Returns: Promise<string>
setDebugEnabled(options: { debugEnabled: boolean; }) => void| Param | Type |
|---|---|
options |
{ debugEnabled: boolean; } |
setCustomVariables(options: { customVariables: any; }) => void| Param | Type |
|---|---|
options |
{ customVariables: any; } |
loadFeedbackForm(options: { formID: string; }) => Promise<any>| Param | Type |
|---|---|
options |
{ formID: string; } |
Returns: Promise<any>
loadFeedbackFormWithCurrentViewScreenshot(options: { formID: string; }) => Promise<any>| Param | Type |
|---|---|
options |
{ formID: string; } |
Returns: Promise<any>
sendEvent(options: { eventName: string; }) => Promise<any>| Param | Type |
|---|---|
options |
{ eventName: string; } |
Returns: Promise<any>
resetCampaignData() => voiddismiss() => voidloadLocalizedStringFile(options: { localizedStringFile: string; }) => void| Param | Type |
|---|---|
options |
{ localizedStringFile: string; } |
preloadFeedbackForms(options: { formIDs: string[]; }) => void| Param | Type |
|---|---|
options |
{ formIDs: string[]; } |
removeCachedForms() => voidsetDataMasking(options?: { masks?: string[] | undefined; character?: string | undefined; } | undefined) => void| Param | Type |
|---|---|
options |
{ masks?: string[]; character?: string; } |
getDefaultDataMasks() => Promise<any>Returns: Promise<any>
(response: any, error?: any): void
string
If you need help, want to report an issue, or have a question please reach out to the support team via our Help Center or email [email protected]