Netless

Netless

  • JavaScript
  • Android
  • iOS
  • Server
  • FAQ
  • GitHub
  • 🇨🇳 中文

›Overview

Overview

  • Introduction
  • Open source
  • Version history

Quick start

  • Overview
  • Client integration
  • Init SDK
  • Create Room
  • Join room
  • Callback and lifecycle

Features

  • Docs-conversion & replay
  • State management
  • Tools
  • Perspective operation
  • Whiteboard operation
  • Custom event
  • Scene management
  • Big class read-only
  • Replay

Upgrade

  • 2.0 v2migration

Introduction

Introduction

Dependent libraries: YYModel, DSBridge-iOS.

Import method: Support Cocoapods (recommended) and direct import.

Supported version: iOS 9

Compatibility: Before iOS 2.1.0 and iOS 2.1.0 and later, different servers are connected and cannot be interconnected. The SDK API remains compatible. </ span> For details, please see 2.0.0 official release.

Cocoapods used

Use mirror station to accelerate

Due to network reasons, there may be a delay in the GitHub cocoapods warehouse network. Such users are recommended to use Tsinghua University Open Source Software Mirror Station. For specific use, please see the site's help.

Difficult Problems

Prompt [!] Unable to find a pod with name, author, summary, or descriptionmatching.

Because Cocoapods installation is based on querying the local library. If you cannot find the corresponding version during installation, you can run the following command to update

# Update cocoapods repo content
pod repo update
# re-install
pod install

View version used

Podfile 'stores version constraints, not the final version. The specific version needs to be viewed in thePodfile.lock` file.

# 2.5.0 Is the version used
- Whiteboard (2.5.0):
    - dsBridge (~> 3.0.2)
    - YYModel (~> 1.0.4)

Update sdk version

Because Cocoapods usesPodfile.lock to lock the version number, once sdk has been installed (the lock file that matchesPodfile), pod install will no longer change the version.

First execute the following command:

# Check the local cocoapods spec repo for the latest version
pod search Whiteboard
# If there is no latest version, update the spec repo
pod repo update

Update the SDK in any of the following ways:

  1. It can be updated individually by executing pod update Whiteboard.
  2. Delete the sdk related content in the Podfile.lock file and re-executepod install

References

pod update

Last updated on 1/14/2020 by 伍双
Open source →
  • Introduction
  • Cocoapods used
    • Use mirror station to accelerate
    • Difficult Problems
    • View version used
    • Update sdk version
    • References
Netless
Let's interactive.
Product
ConsoleHomepageDemoGithub
Company
Join usServicePrivacy
Contact
support@netless.linkCommunity
Copyright © 2020 Netless