$30 off During Our Annual Pro Sale. View Details »

FlutterにLINEログインを仕込んで通知メッセージを送る

tokku5552
October 25, 2022

 FlutterにLINEログインを仕込んで通知メッセージを送る

LINE API開発者向けカンファレンス「REV UP 2022」にて登壇
connpass
https://linedevelopercommunity.connpass.com/event/260460/
REV UP 公式サイト
https://revup.jp/

tokku5552

October 25, 2022
Tweet

More Decks by tokku5552

Other Decks in Programming

Transcript

  1. 'MVUUFSʹ-*/&ϩάΠϯΛ࢓ࠐΜͰ ௨஌ϝοηʔδΛૹΔ 3&761ίϥϘ  ಙాਅ೭հ

  2.  ࣗݾ঺հ  'MVUUFSେֶɾڞಉ։ൃ  ֆຊͷه࿥ΞϓϦʰNFNPSZʱ  -*/&.FTTBHJOH"1*Λ࢖ͬͯ QVTI.FTTBHFΛૹΔ

  3.  ࣗݾ঺հ  'MVUUFSେֶɾڞಉ։ൃ  ֆຊͷه࿥ΞϓϦʰNFNPSZʱ  -*/&.FTTBHJOH"1*Λ࢖ͬͯ QVTI.FTTBHFΛૹΔ

  4. ಙాਅ೭հ ॴଐ ɾ 'MVUUFSେֶ ɾ $MPVE5FDI ɾ ϛϩΰεגࣜձࣾ ٕज़ 'MVUUFS/FYUKT/PEFKT"84

    'JSFCBTF
  5.  ࣗݾ঺հ  'MVUUFSେֶɾڞಉ։ൃ  ֆຊͷه࿥ΞϓϦʰNFNPSZʱ  -*/&.FTTBHJOH"1*Λ࢖ͬͯ QVTI.FTTBHFΛૹΔ

  6. 'MVUUFSେֶͱ͸ 'MVUUFSΤϯδχΞʹ ಛԽֶͨ͠शίϛϡχςΟ ษڧձɺڞಉ։ൃɺΦϑձ ͳͲ͕੝Μ ࠓճ͸ɺࢲ͕ࢀՃͨ͠ڞಉ ։ൃ1+ͷΞϓϦʹ-*/&ϩ άΠϯΛ૊ΈࠐΜͰΈͨ IUUQTGMVUUFSVOJWDPN

  7. ڞಉ։ൃͱ͸ 'MVUUFSେֶͰϲ݄ʹճ ߦΘΕ͍ͯΔɺνʔϜΛ૊ ΜͰΞϓϦΛ։ൃ͢ΔΠϕ ϯτ ࠨ͸ൃදձͷ༷ࢠ IUUQTXXXZPVUVCFDPNXB UDI W8@J[:8Z6TD

  8.  ࣗݾ঺հ  'MVUUFSେֶɾڞಉ։ൃ  ֆຊͷه࿥ΞϓϦʰNFNPSZʱ  -*/&.FTTBHJOH"1*Λ࢖ͬͯ QVTI.FTTBHFΛૹΔ

  9. IUUQTQBHFMJOFNF BDDPVOU*ETFOJF ֆຊͷه࿥ΞϓϦʰNFNPSZʱ

  10. ֆຊΛ؆୯ʹه࿥Ͱ͖ͯɺ ;Γ͔͑Γ͕Ͱ͖ΔΞϓϦ ͲΜͳΞϓϦ͔ʁ ֆຊΞϓϦʰNFNPSZʱͱ͸ʁ ࡀͷ͓ࢠ͞ΜΛ࣋ͭ਌ޚ͞Μ͓ࢠ͞Μ ୭ʹ޲͚ͨΞϓϦ͔ʁ ͳͥ࡞Ζ͏ͱࢥ͔ͬͨʁ ʮ΋ͬͱֆຊΛ਎ۙʹɻʯͷ͖͔͚ͬΛ࡞ΔͨΊ

  11. ࡀͷ͓ࢠ͞ΜΛ࣋ͭ਌ޚ͞Μ͓ࢠ͞Μ ୭ʹ޲͚ͨΞϓϦ͔ʁ ֆຊΞϓϦʰNFNPSZʱͱ͸ʁ ֆຊΛ؆୯ʹه࿥Ͱ͖ͯɺ ;Γ͔͑Γ͕Ͱ͖ΔΞϓϦ ͲΜͳΞϓϦ͔ʁ ͳͥ࡞Ζ͏ͱࢥ͔ͬͨʁ ʮ΋ͬͱֆຊΛ਎ۙʹɻʯͷ͖͔͚ͬΛ࡞ΔͨΊ

  12. ʮ΋ͬͱֆຊΛ਎ۙʹɻʯͷ͖͔͚ͬΛ࡞ΔͨΊ ͳͥ࡞Ζ͏ͱࢥ͔ͬͨʁ ֆຊΞϓϦʰNFNPSZʱͱ͸ʁ ࡀͷ͓ࢠ͞ΜΛ࣋ͭ਌ޚ͞Μ͓ࢠ͞Μ ֆຊΛ؆୯ʹه࿥Ͱ͖ͯɺ ;Γ͔͑Γ͕Ͱ͖ΔΞϓϦ ୭ʹ޲͚ͨΞϓϦ͔ʁ ͲΜͳΞϓϦ͔ʁ

  13.  ࣗݾ঺հ  'MVUUFSେֶɾڞಉ։ൃ  ֆຊͷه࿥ΞϓϦʰNFNPSZʱ  -*/&.FTTBHJOH"1*Λ࢖ͬͯ QVTI.FTTBHFΛૹΔ

  14. ίΞϢʔβʔͷ֫ಘ Ծઆݕূ ࡞඼ͷදࣔ ՝ۚ Ϩίϝϯσʔγϣϯ WJFXFS 69޲্ ෳ਺ຊ୨ɺ164)௨஌ͳͲʣ %-ʙ ૝ఆػೳ

    ໨ඪ ରϢʔβʔ Ξϓϩʔν ϢʔβʔΠϯλϏϡʔ ϚʔέςΟϯά UPಡΈख ίΞϢʔβʔਓ άϩʔε ϚʔέςΟϯά UP࡞Ո ಡॻਐ௙ͷՄࢹԽ -*/&NFTTBHJOH"1*׆༻ ಡॻΞυόΠε 3PBENBQ 1IBTF 5#% 5#%
  15. ࣮͸'MVUUFSͰ-*/&ϩάΠϯ͸ɺաڈ -*/&%$ͱ 'MVUUFSେֶ ͷίϥϘͰ࣮ࢪࡁΈ IUUQTXXXZPVUVCFDPNXBUDI W55@3P"ZH&6 NFNPSZʹ-*/&ϩάΠϯΛ૊ΈࠐΉ ·ͨɺ'MVUUFSେֶ಺ͷڞಉษڧձͱ͍͏಺෦ΠϕϯτͰɺ $MPVE'VODUJPOTͰ-*/&ϩάΠϯ'JSFCBTF "VUIFOUJDBUJPOͷΧελϜτʔΫϯൃߦͯ͠Ϣʔβʔͷϩά

    Πϯͱͯ͠૊ΈࠐΉ࣮૷΋঺հࡁΈ IUUQTHJUIVCDPN,PTVLF4BJHVTBNPUUBJGMVUUFSBQQ GJSFCBTFCMPCNBJOGVODUJPOTTSDDBMMBCMFGVODUJPOTDVTUPN UPLFODSFBUF'JSFCBTF"VUI$VTUPN5PLFOUT ͳͷͰࠓճ͸-*/&ϩάΠϯΛͯ͠Ϣʔβʔ࿈ܞͨ͠ޙʹɺ$MPVE'VODUJPOTͰ QVTI.FTTBHFΛૹΔॲཧΛαΫοͱ࣮૷ ҎԼ͕ػೳ௥ՃͷϓϧϦΫΤετ IUUQTHJUIVCDPNQKQJDCPPLQJDCPPLQVMM
  16. 'MVUUFSଆMJCNBJOEBSU GMVUUFS@MJOF@TELΛಋೖ͠ɺ NBJOEBSU಺Ͱ -JOF4%,ͷηοτΞοϓΛߦ͏ - NFNPSZʹ-*/&ϩάΠϯΛ૊ΈࠐΉ

  17. 'MVUUFSଆ ͋ͱ͸ྑ͖ͱ͜ΖͰࠨهͷΑ͏ͳॲ ཧΛೖΕΔɻ ɾMJOFTELͷMPHJOϝιουΛ QSPGJMFɺPQFOJEͷείʔϓͰݺͼ ग़͢ ɾऔಘͨ͠΋ͷͷத͔Β*%5PLFOΛ औΓग़ͯ͠ɺόοΫΤϯυ ࠓճͩͱ $MPVE'VODUJPOT

    ʹ౉͢ɻ NFNPSZͷ৔߹ɺSJWFSQPEͱ TUBUF@OPUJGJFSΛ࢖ͬͯ .77. 3FQPTJUPSZύλʔϯͰ࣮ ૷͍ͯ͠ΔͷͰɺSFQPTJUPSZͱ OPUJGJFS͋ͨΓͷ࣮૷ΛݟͯΈͯ͘ ͍ͩ͞ɻ NFNPSZʹ-*/&ϩάΠϯΛ૊ΈࠐΉ IUUQTHJUIVCDPNQKQJDCPPLQJDCPPLQVMM
  18. $MPVE'VODUJPOTଆ ࠓճ͸ͱΓ͋͑ͣDBMMBCMFGVODUJPOTΛ࡞ͬͯ 'MVUUFSଆ͔ΒೳಈతʹQVTI.FTTBHFΛૹΕΔ Α͏ʹ࣮૷ ड͚औͬͨJE5PLFOΛ-*/&ϩάΠϯW"1*ͷ WFSJGZΤϯυϙΠϯτΛୟ͍ͯݕূ IUUQTEFWFMPQFSTMJOFCJ[KBSFGFSFODFMJOF MPHJOWFSJGZJEUPLFO ͦͷޙɺCPUTELΛ࢖ͬͯQVTI.FTTBHFΛૹ৴ NFNPSZʹ-*/&ϩάΠϯΛ૊ΈࠐΉ

  19. NFNPSZʹ-*/&ϩάΠϯΛ૊ΈࠐΉ

  20. ίΞϢʔβʔͷ֫ಘ Ծઆݕূ ࡞඼ͷදࣔ ՝ۚ Ϩίϝϯσʔγϣϯ WJFXFS 69޲্ ෳ਺ຊ୨ɺ164)௨஌ͳͲʣ %-ʙ ૝ఆػೳ

    ໨ඪ ରϢʔβʔ Ξϓϩʔν ϢʔβʔΠϯλϏϡʔ ϚʔέςΟϯά UPಡΈख ίΞϢʔβʔਓ άϩʔε ϚʔέςΟϯά UP࡞Ո ಡॻਐ௙ͷՄࢹԽ -*/&NFTTBHJOH"1*׆༻ ಡॻΞυόΠε 3PBENBQ 1IBTF 5#% 5#%
  21. NFNPSZʹ-*/&ϩάΠϯΛ૊ΈࠐΉ ωΠςΟϒΞϓϦʹ͓͚Δ.FTTBHJOH"1*ͷ༗ޮ׆༻ NFNPSZͷ৔߹ͷϢʔεέʔε ɾಡॻͷश׳Խଅਐ ɾਐḿΛՄࢹԽͯ͠ɺୡ੒ײΛ޲্ͤ͞Δ Ϣʔβʔ͕਺໊ʙখن໛ͳ৔߹ɺͱʹ͔͘ΞϓϦΛ௕͘ ࢖ͬͯ΋Β͏͜ͱ͕ॏཁ ωΠςΟϒΞϓϦͰͷ௨஌ΑΓ΋-*/&ͷϓογϡϝο ηʔδΛ࢖͏͜ͱͰɺϢʔβʔ͔Β͢Δͱෛՙ͕ܰ͘ͳΓɺ ΞϓϦͷىಈΛଅͤΔ

    ͸ͣ ͝ਗ਼ௌ͋Γ͕ͱ͏͍͟͝·ͨ͠