Skip to content
This repository has been archived by the owner on Mar 7, 2024. It is now read-only.

Commit

Permalink
fix(toutiao): 修正一部分新的 api 没有导出的问题 (#962)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pochodaydayup committed May 15, 2020
1 parent 80b5fde commit 42d5d4d
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions packages/remax-toutiao/src/api/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,3 +92,20 @@ export const getConnectedWifi = promisify(tt.getConnectedWifi);
export const setKeepScreenOn = promisify(tt.setKeepScreenOn);
export const getMenuButtonLayout = tt.getMenuButtonLayout;
export const getMenuButtonBoundingClientRect = tt.getMenuButtonBoundingClientRect;
export const createInnerAudioContext = tt.createInnerAudioContext;
export const getBackgroundAudioManager = tt.getBackgroundAudioManager;
export const getRecorderManager = tt.getRecorderManager;
export const createLivePlayerContext = tt.createLivePlayerContext;
export const createMapContext = tt.createMapContext;
export const interactionAnalysis = promisify(tt.interactionAnalysis);
export const followOfficialAccount = promisify(tt.followOfficialAccount);
export const checkFollowState = promisify(tt.checkFollowState);
export const onMemoryWarning = tt.onMemoryWarning;
export const showTabBarRedDot = promisify(tt.showTabBarRedDot);
export const showTabBar = promisify(tt.showTabBar);
export const setTabBarStyle = promisify(tt.setTabBarStyle);
export const setTabBarItem = promisify(tt.setTabBarItem);
export const setTabBarBadge = promisify(tt.setTabBarBadge);
export const removeTabBarBadge = promisify(tt.removeTabBarBadge);
export const hideTabBarRedDot = promisify(tt.hideTabBarRedDot);
export const hideTabBar = promisify(tt.hideTabBar);

1 comment on commit 42d5d4d

@vercel
Copy link

@vercel vercel bot commented on 42d5d4d May 15, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.