blogView()→ View
Returns a SwiftUI view for displaying blog posts and content.
clearUser()
Clears the current user context and sets it back to anonymous.
configure(projectId:baseURL:theme:apiKey:popupConfiguration:announcementConfiguration:)
Configures the AppGram SDK with the provided project credentials and settings.
projectId: StringbaseURL: Stringoptionaltheme: AppGramThemeoptionalapiKey: StringoptionalpopupConfiguration: PopupConfigurationoptional
contactFormView(formId:)→ View
Returns a SwiftUI view for displaying and submitting a contact form.
feedbackView()→ View
Returns a SwiftUI view for displaying and managing feedback.
feedbackWidget(style:size:ctaTitle:ctaAction:)
Creates a widget view with a feedback configuration.
style: WidgetStylesize: WidgetSizectaTitle: Stringoptional
getAnnouncementManager()→ AnnouncementManager
Returns the announcement manager instance.
getBlogService()→ BlogServiceProtocol
Returns the blog service instance.
getContactFormService()→ ContactFormServiceProtocol
Returns the contact form service instance.
getFeedbackService()→ FeedbackServiceProtocol
Returns the feedback service instance.
getHelpService()→ HelpServiceProtocol
Returns the help service instance.
getNotificationManager()→ NotificationManager
Returns the notification manager instance.
getPopupManager()→ PopupManager
Returns the popup manager instance.
getReleasesService()→ ReleasesServiceProtocol
Returns the releases service instance.
getRoadmapService()→ RoadmapServiceProtocol
Returns the roadmap service instance.
getStatusService()→ StatusServiceProtocol
Returns the status service instance.
getSupportService()→ SupportServiceProtocol
Returns the support service instance.
getSurveyService()→ SurveyServiceProtocol
Returns the survey service instance.
getWidgetService()→ WidgetServiceProtocol
Returns the widget service instance.
helpCenterView(configuration:)→ View
Returns a SwiftUI view for displaying the help center.
releasesView(orgSlug:projectSlug:configuration:)→ View
Returns a SwiftUI view for displaying release notes.
orgSlug: StringprojectSlug: String
roadmapView()→ View
Returns a SwiftUI view for displaying the product roadmap.
roadmapWidget(style:size:ctaTitle:ctaAction:)
Creates a widget view with a roadmap configuration.
style: WidgetStylesize: WidgetSizectaTitle: Stringoptional
setUser(userId:email:name:)
Sets the current user context for the SDK.
userId: Stringemail: String
showAnnouncements()async
Manually presents announcements to the user.
statusPageView(slug:configuration:onSubscribeCallback:)
Returns a SwiftUI view for displaying a status page.
slug: Stringoptionalconfiguration: StatusConfigurationoptional
statusWidget(style:size:slug:ctaTitle:ctaAction:)
Creates a widget view with a status configuration.
style: WidgetStylesize: WidgetSizeslug: StringoptionalctaTitle: Stringoptional
supportFormView(formId:)→ View
Returns a SwiftUI view for displaying and submitting a specific support form.
supportView()→ View
Returns a SwiftUI view for displaying and managing support tickets.
surveyView(slug:style:)→ View
Returns a SwiftUI view for displaying and submitting a survey.
widgetView(configuration:)→ View
Returns a SwiftUI view for displaying a customizable widget.
contactFormViewController(formId:)static→ UIViewController
Returns a UIKit view controller for displaying and submitting a contact form.
feedbackViewController()static→ UIViewController
Returns a UIKit view controller for displaying and managing feedback.
helpCenterViewController()static→ UIViewController
Returns a UIKit view controller for displaying the help center.
releasesViewController(orgSlug:projectSlug:configuration:)static→ UIViewController
Returns a UIKit view controller for displaying release notes.
orgSlug: StringprojectSlug: String
roadmapViewController()static→ UIViewController
Returns a UIKit view controller for displaying the product roadmap.
statusPageViewController(slug:configuration:)static→ UIViewController
Returns a UIKit view controller for displaying a status page.
supportViewController()static→ UIViewController
Returns a UIKit view controller for displaying and managing support tickets.
surveyViewController(slug:)static→ UIViewController
Returns a UIKit view controller for displaying and submitting a survey.
widgetViewController(configuration:)static→ UIViewController
Returns a UIKit view controller for displaying a customizable widget.