MiniAppCustomPermissionType

public enum MiniAppCustomPermissionType : String, Codable, CaseIterable

Enumerations of Mini App Custom permission types that is used/checked by the MiniApp SDK before accessing any data from the host app

  • Custom permission for retrieving User name from the host app

    Declaration

    Swift

    case userName = "rakuten.miniapp.user.USER_NAME"
  • Custom permission for retrieving Profile photo from the host app

    Declaration

    Swift

    case profilePhoto = "rakuten.miniapp.user.PROFILE_PHOTO"
  • Custom permission for retrieving List of contacts from the host app

    Declaration

    Swift

    case contactsList = "rakuten.miniapp.user.CONTACT_LIST"
  • Custom permission for retrieving Access token details from the host app

    Declaration

    Swift

    case accessToken = "rakuten.miniapp.user.ACCESS_TOKEN"
  • Custom permission to send a message via the Host app

    Declaration

    Swift

    case sendMessage = "rakuten.miniapp.user.action.SEND_MESSAGE"
  • Custom permission for retrieving device location details from the host app

    Declaration

    Swift

    case deviceLocation = "rakuten.miniapp.device.LOCATION"
  • Custom permission for retrieving points from the host app

    Declaration

    Swift

    case points = "rakuten.miniapp.user.POINTS"
  • Custom permission for downloading files

    Declaration

    Swift

    case fileDownload = "rakuten.miniapp.device.FILE_DOWNLOAD"
  • Undocumented

    Declaration

    Swift

    public var title: String { get }