주요 콘텐츠로 건너뛰기

Progressive Web App (PWA) support

What's new

Campaign automation gains end-to-end support for Progressive Web Apps. A new PWAPromptActionNode graph node prompts players to install your PWA, two new pwa_installed and pwa_deinstalled campaign event types let campaigns react to install-state changes, and a new optional is_pwa_installed player attribute records whether a player has the PWA installed.

Impact

You can build lifecycle flows that encourage PWA installs and branch on whether a player installs or uninstalls the app, then target those players using the recorded install state.

Changes

ResourceChange
create_campaign, update_campaignAdded PWAPromptActionNode to the graph.nodes discriminator and oneOf, and pwa_installed / pwa_deinstalled to the campaign event type enum
get_campaign_graph, update_campaign_graphAdded PWAPromptActionNode to the graph nodes discriminator and oneOf
get_campaigns, get_campaign, get_campaigns_by_idsAdded pwa_installed / pwa_deinstalled to the returned campaign event type enum
update_segment_groupAdded PWAPromptActionNode to the graph.nodes discriminator and oneOf
get_pages, get_page, create_page, update_page, bulk_update_page, translate_pageAdded PWAPromptActionNode to DynamicBlock.graph_rules.nodes discriminator and oneOf
update_playerAdded optional is_pwa_installed player attribute

Upgrade

  • No action required. To use the new node, include a graph entry with model_type: PWAPromptActionNode.
  • To trigger campaigns on install changes, use the new pwa_installed and pwa_deinstalled event types.
  • Send attributes.is_pwa_installed on update_player to record a player's PWA install state.

도움이 필요하세요?
통합팀에 문의하십시오 [email protected]