
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
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 0 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.
Security News
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.