AppTemplateParams
public class AppTemplateParams
-
Declaration
Swift
public static let shared: AppTemplateParams
-
add menuOptions if you want to set the custom tab bar.
Declaration
Swift
public var menuOptions: MapstedMenu? { get set }
-
Option to add menuOptions if you want to set the copyright text and gifs for dark and light mode.
Declaration
Swift
public var splashScreenInfo: SplashScreenInfo?
-
Option to enable login.
Declaration
Swift
public var requireClientLogin: Bool
-
Declaration
Swift
public var enableUserProfiles: Bool
-
Option to set the firebase details like FCM token and app identifier for notifications
Declaration
Swift
public var firebaseOptions: FirebaseToken
-
Declaration
Swift
public var enableStagingSettingMode: Bool
-
Option to enable/disable the map overlays
Declaration
Swift
public var useMapOverlays: Bool { get set }
-
Option to show/hide the welcome screen
Declaration
Swift
public var showWelcomeScreen: Bool
-
Whether or not to use GeoJSON Layers for map rendering
Declaration
Swift
public var useGeoJSONLayers: Bool
-
Style to use for the base map
Declaration
Swift
public var baseMapStyle: BaseMapStyle
-
Name of the style asset to use for map rendering
Declaration
Swift
public var nameOfGeoJSONStyleAsset: String
-
Option to set the details for the App Share Information
Declaration
Swift
public var shareInfo: ShareInfo?
-
setUpdateVersionPopupDetails(currentAppVersion:
appBundleIdentifier: updateNowButtonBgColor: updateLaterButtonBgColor: ) Option to set the update version popup details
Declaration
Swift
public func setUpdateVersionPopupDetails(currentAppVersion: String, appBundleIdentifier: String, updateNowButtonBgColor: UIColor? = nil, updateLaterButtonBgColor: UIColor? = nil)
-
Declaration
Swift
public func showDisclaimerPopup(title: String = "", disclaimer: String, buttonTitle: String = "", buttonBgColor: UIColor? = nil)