Question

11
Views
Close popover
Saiprathap V (SaiprathapV)
Incessant Technologies PVT Ltd

Incessant Technologies PVT Ltd
IN
SaiprathapV Member since 2018 4 posts
Incessant Technologies PVT Ltd
Posted: 1 week 2 days ago
Last activity: 1 week 2 days ago

How to pass string value from Custom module to Pega - Mobile offline

               We successfully integrated custom module with Pega mobile channel. We need to pass a string from custom module to Pega and we should identify/receive that string value returned from custom module. Below is the attempted solution from our end, through which we could not achieve:

 

func methodname(_ name: PMSJSValue, promise: PMSJSPromise)

{

     guardlet parentViewController = context.parentViewController else

  {

    return

  }

     let alert = UIAlertController(title: "Alert", message: "Call back testing", preferredStyle: .alert)

     alert.addAction(UIAlertAction(title: "OK", style: .default, handler: { action in

     promise.resolve(with: PMSJSValue("test callback"))

}

))

parentViewController.present(alert, animated: true, completion: nil)

}

 

Looking for your suggestions. Thanks in advance.

***Edited by Moderator: Pooja Gadige to add platform capability tag, add support case exists tag***
Pega Mobile Client 8 Mobile Support Case Exists