To promote Brightspace Pulse usage in organizations, developers can add a deep link in a custom app to Brightspace Pulse. When a user clicks the deep link in a custom app for the first time, the Brightspace Pulse app launches on their device, prompting them to log in to the app. If the user does not have Brightspace Pulse installed, they are taken to the Brightspace Pulse app site, prompting them to install the app.
|
Note: This feature is available to all clients with Brightspace Pulse 1.2001 or later. Users with Brightspace Pulse on iOS 12 or older must approve Brightspace Pulse to open the deep link in Safari. The custom app does not ask for approval again and always opens Brightspace Pulse directly from the deep link. |
Deep links in iOS applications
To support deep links in iOS applications, Brightspace Pulse for iOS uses Universal Links. To add a deep link to Brightspace Pulse from an iOS application, add the following code snippet to open the deep link URL in Safari:
if let url = URL(string: "https://apps.brightspace.com/pulse/launch"), UIApplication.shared.canOpenURL(url) {
UIApplication.shared.open(url, options: [:], completionHandler: nil)
}
Deep links in Android applications
To support deep links in Android applications, Brightspace Pulse for Android uses Android App Links. To add a deep link to Brightspace Pulse from an Android application, add the following code snippet to launch an activity with the deep link URL:
startActivity(Intent(Intent.ACTION_VIEW, Uri.parse("https://apps.brightspace.com/pulse/launch")))