Model
public extension MoEngageSystemInfo.Model
-
Returns the short version string (
CFBundleShortVersionString) ofbundle, or an empty string when absent.Declaration
Swift
func version(of bundle: Bundle) -> StringParameters
bundleThe bundle to read the version from.
-
The short version string of the current main bundle (the running process’s bundle).
Declaration
Swift
var mainBundleVersion: String { get } -
The short version string of the host application bundle.
Navigates out of an extension to the containing app via
appBundle. Returns an empty string when not running inside an extension.Declaration
Swift
var hostAppVersion: String { get } -
The bundle identifier (
CFBundleIdentifier) of the current main bundle, or an empty string when absent.Declaration
Swift
var bundleIdentifier: String { get }