feat: 组件化消息中心相关功能 https://jira.shanqu.cc/browse/GHZS-2972
This commit is contained in:
@ -42,7 +42,7 @@ public class DataUtils {
|
||||
}
|
||||
|
||||
options.setDebug(BuildConfig.DEBUG);
|
||||
options.setEnableSessionTracking(true);
|
||||
options.setEnableAutoSessionTracking(true);
|
||||
options.setDsn("https://6b1caf0d17c1408e8680f3f73ff80bd0@sentry.shanqu.cc/22");
|
||||
|
||||
options.setBeforeSend((event, hint) -> {
|
||||
|
||||
@ -69,6 +69,10 @@ class AppProviderImpl : IAppProvider {
|
||||
override fun logEvent(content: String) {
|
||||
// do nothing
|
||||
}
|
||||
|
||||
override fun logCoreEvent() {
|
||||
// do nothing
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -33,6 +33,10 @@ class DirectProviderImpl : IDirectProvider {
|
||||
ToastUtils.toast("调用->DirectProviderImpl.directToEnergyRulePage")
|
||||
}
|
||||
|
||||
override fun directToEnergyRecord(context: Context, position: Int) {
|
||||
ToastUtils.toast("调用->DirectProviderImpl.directToEnergyRecord")
|
||||
}
|
||||
|
||||
override fun directToInviteFriends(context: Context) {
|
||||
ToastUtils.toast("调用->DirectProviderImpl.directToInviteFriends")
|
||||
}
|
||||
@ -57,6 +61,62 @@ class DirectProviderImpl : IDirectProvider {
|
||||
ToastUtils.toast("调用->DirectProviderImpl.directToSuggestionFromDiagnosis")
|
||||
}
|
||||
|
||||
|
||||
override fun directToQa(context: Context, text: String?, id: String) {
|
||||
ToastUtils.toast("调用->DirectProviderImpl.directToQa")
|
||||
}
|
||||
|
||||
override fun directToHelpAndFeedback(context: Context, position: Int) {
|
||||
ToastUtils.toast("调用->DirectProviderImpl.directToHelpAndFeedback")
|
||||
}
|
||||
|
||||
override fun directToQqGroup(context: Context, groupNumber: String?): Boolean {
|
||||
ToastUtils.toast("调用->DirectProviderImpl.directToQqGroup")
|
||||
return true
|
||||
}
|
||||
|
||||
override fun directToHomeActivity(context: Context, userId: String?, entrance: String?, path: String?) {
|
||||
ToastUtils.toast("调用->DirectProviderImpl.directToHomeActivity")
|
||||
}
|
||||
|
||||
override fun directToAnswerDetail(context: Context, id: String, entrance: String?, path: String?) {
|
||||
ToastUtils.toast("调用->DirectProviderImpl.directToAnswerDetail")
|
||||
}
|
||||
|
||||
override fun directToCommunityArticle(
|
||||
context: Context,
|
||||
articleId: String?,
|
||||
communityId: String?,
|
||||
entrance: String?,
|
||||
path: String?
|
||||
) {
|
||||
ToastUtils.toast("调用->DirectProviderImpl.directToCommunityArticle")
|
||||
}
|
||||
|
||||
override fun directToVideoDetail(context: Context, videoId: String, entrance: String?, path: String?) {
|
||||
ToastUtils.toast("调用->DirectProviderImpl.directToVideoDetail")
|
||||
}
|
||||
|
||||
override fun directToAmway(context: Context, fixedTopAmwayCommentId: String?, entrance: String?, path: String?) {
|
||||
ToastUtils.toast("调用->DirectProviderImpl.directToAmway")
|
||||
}
|
||||
|
||||
override fun directToOrderCenter(context: Context) {
|
||||
ToastUtils.toast("调用->DirectProviderImpl.directToOrderCenter")
|
||||
}
|
||||
|
||||
override fun directToOrderDetail(context: Context, orderId: String) {
|
||||
ToastUtils.toast("调用->DirectProviderImpl.directToOrderDetail")
|
||||
}
|
||||
|
||||
override fun directToMyPrizePage(context: Context) {
|
||||
ToastUtils.toast("调用->DirectProviderImpl.directToMyPrizePage")
|
||||
}
|
||||
|
||||
override fun directToWinOrderDetail(context: Context, orderId: String, activityId: String) {
|
||||
ToastUtils.toast("调用->DirectProviderImpl.directToWinOrderDetail")
|
||||
}
|
||||
|
||||
override fun init(context: Context?) {
|
||||
// Do nothing
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user