Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
com.taptap.tds.billboard
Advanced tools
使用 TapTap.Billboard 前提是必须依赖以下库:
using TapTap.Billboard;
var dimensionSet = new HashSet<Pair<string, string>>();
Pair<string, string> pair = new Pair<string, string>("platform", "ios");
Pair<string, string> location = new Pair<string, string>("location", "CN");
dimensionSet.Add(pair);
dimensionSet.Add(location);
var templateType = "navigate"; // 可选
var billboardServerUrl = "https://your-billboard-server-url"; // 开发者中心 > 你的游戏 > 游戏服务 > 应用配置 > 域名配置 > 公告
var config = new TapConfig.Builder()
.ClientID("your_client_id") // 必须,开发者中心对应 Client ID
.ClientToken("your_client_token") // 必须,开发者中心对应 Client Token
.ServerURL("https://your_server_url") // 必须,开发者中心 > 你的游戏 > 游戏服务 > 基本信息 > 域名配置 > API
.RegionType(RegionType.CN) // 可选项,CN 表示中国大陆,IO 表示其他国家或地区
.TapBillboardConfig(dimensionSet, templateType, billboardServerUrl)
.ConfigBuilder();
TapBootstrap.Init(config);
TapBillboard.OpenPanel((any, error) =>
{
if (error != null)
{
// 打开公告失败 可以根据 error.code 和 error.errorDescription 来判断错误原因
} else
{
// 打开公告成功
}
});
TapBillboard.QueryBadgeDetails((badgeDetails, error) =>
{
if (error != null)
{
// 获取小红点信息失败 可以根据 error.code 和 error.errorDescription 来判断错误原因
}
else
{
// 获取小红点信息成功
if (badgeDetails.showRedDot == 1) {
// 有新的公告信息
} else {
// 没有新的公告信息
}
}
});
TapBillboard.RegisterCustomLinkListener(url =>
{
// 这里返回的 url 地址和游戏在公告系统内配置的地址是一致的
});
// 已注册的回调对象需要游戏保存,取消注册的时候要把对象传给 SDK
TapBillboard.UnRegisterCustomLinkListener(registerdListener);
FAQs
TapTap Develop Service
The npm package com.taptap.tds.billboard receives a total of 3 weekly downloads. As such, com.taptap.tds.billboard popularity was classified as not popular.
We found that com.taptap.tds.billboard demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.