Developing Apple Pay In-App Provisioning

Developing Apple Pay In-App Provisioning

Presentation slide for “try! Swift Pre Talk 2019”

D2f212ce418f3daa29c23914c9b6892b?s=128

Kentaro Matsumae

March 19, 2019
Tweet

Transcript

  1. Developing Apple Pay In-App Provisioning With Sandbox App Kentaro Matsumae

    (@kenmaz) merpay #tryswift_pre try! Swift Pre Talks 2019, Mar 19th
  2. GSBNFXPSLT 8IBUJT4BOECPY"QQ

  3. 4BOECPY"QQT 8IBUJT4BOECPY"QQ

  4. None
  5. "QQMF1BZ*O"QQ1SPWJTJPOJOH

  6. "QQMF1BZ*O"QQ1SPWJTJPOJOH *TTVFS "QQMF

  7. "QQMF1BZ*O"QQ1SPWJTJPOJOH *TTVFS "QQMF *TTVFSFRVFTUGPSBWJSUVBM QSFQBJEDBSE

  8. "QQMF1BZ*O"QQ1SPWJTJPOJOH *TTVFS "QQMF *TTVFBWJSUVBMQSFQBJEDBSE

  9. "QQMF1BZ*O"QQ1SPWJTJPOJOH *TTVFS "QQMF 3FRVFTUUPSFHJTUFSDBSEUISPVHI1BTT,JU"1* PassKit - PKAddPaymentPassViewController - PKPassLibrary

  10. "QQMF1BZ*O"QQ1SPWJTJPOJOH *TTVFS "QQMF 3FHJTUFSDBSEJOUP8BMMFUBQQ

  11. None
  12. 130#-&. w .645UPJOTUBMMUIFBQQWJB5FTU'MJHIUGPS EFCVHHJOH w &WFSZUJNFZPVEFCVH ZPVOFFEUPSFCVJME BOEVQMPBEUIF"QQUP5FTU'MJHIU #VJME 6QMPBE

    5FTU'MJHIU1SPDFTTJOH NJO
  13. w 5FTU'MJHIUQSPDFTTJOHUJNFEFQFOETPOCJOBSZTJ[F w .JOJNJ[FUIFDPEFUPSFEVDFCVJMEJOHBOE5'QSPDFTTJOH UJNF w 4BOECPY"QQJTVTFGVMUPEPJU 3&40-65*0/

  14. 0SHBOJ[FQSPWJTJPOJOHSFMBUFE DPEFJOUPPOFDPNQPOFOU 1SPWJTJPOJOH $PSF 1SPWJTJPOJOH 6* .FSQBZGSBNFXPSL

  15. 4BOECPY"QQXJUI$PSFDPNQPOFOU 1SPWJTJPOJOH $PSF 1SPWJTJPOJOH 6* .FSQBZGSBNFXPSL 4BOECPY "QQ

  16. 3&46-54 1SPWJTJPOJOH $PSFDPNQPOFOUT ,# 4BOECPY"QQ #VJME 6QMPBE 5FTU'MJHIU1SPDFTTJOH NJO Y'BTUFS

  17. 6*JNQMFNFOUBUJPO VTJOH4BOECPY"QQ

  18. 1SPWJTJPOJOH'MPX

  19. 1SPWJTJPOJOH'MPX

  20. 1SPWJTJPOJOH'MPX 4BOECPY "QQ 4UBSU

  21. 1SPWJTJPOJOH$PSF 1SPWJTJPOJOH'MPX 4BOECPY "QQ 4UBSU

  22. %FQFOEFODZ*OKFDUJPO public protocol DependencyRegistry { var service: ServiceType { get

    } var mercariViewControllerFactory: MercariViewControllerFactoryType { get } var mercariExperimentProvider: MercariExperimentsProviderType { get } var nfcClient: NFCClientType { get } … 1SPWJEFTBMMFYUFSOBMFOWJSPONFOUEFQFOEFOUPCKFDUT 1SPWJTJPOJOH $PSF 1SPUPDPM
  23. %FQFOEFODZ3FHJTUSZ %FQFOEFODZ 3FHJTUSZ "MM7JFX$POUSPMMFSTBSFJOJUJBMJ[FEXJUI%FQFOEFODZ3FHJTUSZ

  24. 6*VTFT$PSFDPNQPOFOUUISPVHI %FQFOEFODZ3FHJTUSZ %FQFOEFODZ 3FHJTUSZ 1SPWJTJPOJOH $PSF 1SPWJTJPOJOH 6* .FSQBZGSBNFXPSL 1SPEVDUJPO

    "QQ
  25. .FSQBZGSBNFXPSL 4BOECPY "QQ %FQFOEFODZ 3FHJTUSZ 1SPWJTJPOJOH $PSF .PDL 1SPWJTJPOJOH 6*

    6*VTFT$PSFDPNQPOFOUUISPVHI %FQFOEFODZ3FHJTUSZ
  26. 1SPWJTJPOJOH$PSF 1SPWJTJPOJOH'MPX 4BOECPY "QQ 4UBSU

  27. 1SPWJTJPOJOH'MPX 4BOECPY "QQ 4U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