Closed Aaron98990 closed 2 years ago
Hi, Please open a support case using https://developers.gigya.com/display/GD/Opening+A+Support+Incident and provide all the relevant data and crash reports in order for our team to investigate this issue.
Thank you! This resolved our issue.
Custom Buttons work using the Swift SDK. But, params
must be formated like this in the Swift showScreenSet
call.
["screenSet": "", "startScreen": "", "deviceType": "", "containerID": "", "customButtons": [{"idpName": "", "providerName": "", "type": "saml", "position": "1"}]
gsapi://*
gsapi://*
and the bundle ID of your project (e.g., com.app.app://*
).
In the screenset, we are able to get the screenset to show up but it is missing the SSO button implemented as shown in the image below. We are able to get this to work on the WebSDK version but we are missing the custom button in ios SDK. Do you have any ideas?
public func showScreenSet(with name: String, viewController: UIViewController, params: [String: Any] = [:], completion: @escaping (GigyaPluginEvent<T>) -> Void)
let params = ["screenSet": "SCREENSETNAME", "idpName": "IDPNAME", "type": "saml", "position": "1", "deviceType": "mobile", "providerName": "PROVIDER NAME", "startScreen": "SCREENNAME", "containerID": "pluginContainer"]
Mobile SDK:
For reference, this is how it is done in web sdk which works and shows the custom button and the screenset correctly: