npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

react-native-wmm-aliyunplayer

v0.3.0

Published

aliyunplayer&&download

Downloads

62

Readme

react-native-wmm-aliyunplayer

说明

本库基于 react-native-wmm-aliyunplayer创建, 在原有播放器基础上添加了新功能,并封装了阿里云播的下载功能。 本库是阿里云播放器的,非全量 封装。支持功能**播放、下载**功能。

常用 Script

//  安装依赖
yarn bootstrap
//  运行iOS
yarn example ios
//  运行安卓
yarn example android

Installation

npm install react-native-wmm-aliyunplayer

// or
yarn add react-native-wmm-aliyunplayer

安卓

Project build.gradle 添加 meaven 依赖maven {url 'https://maven.aliyun.com/repository/releases'}

API

播放器文档

TODO

  • 下载列表,基于 sqlite 的 native 实现。
  • example 播放器和下载的案例
  • 下载 API 文档

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

Contributor

License

MIT


Made with create-react-native-library

Q&A

iOS 调试代码 yarn example ios

关于 iOS Hermes engine pod install failure 时,可在example/ios/Podfile中将 :hermes_enabled => false

关于 iOS M1 Slice 问题

Undefined symbols for architecture x86_64:
  "_OBJC_CLASS_$_RCTBridge", referenced from:
      objc-class-ref in AppDelegate.o
  "_OBJC_CLASS_$_RCTBundleURLProvider", referenced from:
      objc-class-ref in AppDelegate.o
  "_RCTAppSetupDefaultRootView", referenced from:
      -[AppDelegate application:didFinishLaunchingWithOptions:] in AppDelegate.o
  "_RCTAppSetupPrepareApp", referenced from:
      -[AppDelegate application:didFinishLaunchingWithOptions:] in AppDelegate.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

此处模拟器x86_64问题应在PodFile 中添加config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64"