Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@goodgamestudios/cxf-announcements

Package Overview
Dependencies
Maintainers
24
Versions
339
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@goodgamestudios/cxf-announcements

Logic to display announcements loaded from RestAPI. Template html are also used by CXF Admin panel to display preview

  • 0.19.1-qa.25
  • npm
  • Socket score

Version published
Maintainers
24
Created
Source

Logic to display announcements loaded from RestAPI. Template html are also used by CXF Admin panel to display preview

###To test the announcement functionality with the game locally:-

  • Create a couple of announcements for the targeted stage and network instances using the CAP-TOOL the QA works for on staging Env, so better to test on Staging)

  • Build the announcement plugin by running:

    npm run build:<STAGE>

  • Serve the build folder(dist) locally:

    npm run serve:locally

  • Use Requestly or any similar plugin that allows for intercepting a request and redirecting it to another

  • Using Requestly , Create a rule to redirect the used announcement plugin to our local one that exists in the dist folder

    We want to redirect from this url https://hotpkg.com/@goodgamestudios/cxf-announcements@qa/dist/announcements.js to the local port that we are running http://127.0.0.1:4002/announcements.js

img.png

  • Navigate the game or integration page for the wanted game like this one here

    https://html5-game-integration.ggs-ep.com/empire?env=qa&branch=main

  • Make sure that you are using the right Network, Server, and instance for the game

  • Once you logged in to the game you should be able to see the announcements icon displayed img_1.png

  • Clicking the announcements icon should display the announcements that you created using the CAP tool

img_2.png

FAQs

Package last updated on 09 Dec 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc