zhike-fs-utils

1.0.8 • Public • Published

zhike-fs-utils

Getting started

$ npm install zhike-fs-utils --save

Mostly automatic installation

$ react-native link zhike-fs-utils

Manual installation

iOS

  1. In XCode, in the project navigator, right click LibrariesAdd Files to [your project's name]
  2. Go to node_moduleszhike-fs-utils and add ZKFsUtils.xcodeproj
  3. In XCode, in the project navigator, select your project. Add libZKFsUtils.a to your project's Build PhasesLink Binary With Libraries
  4. Run your project (Cmd+R)<

Android

  1. Open up android/app/src/main/java/[...]/MainActivity.java
  • Add import com.fsutils.ZKFsUtilsPackage; to the imports at the top of the file
  • Add new ZKFsUtilsPackage() to the list returned by the getPackages() method
  1. Append the following lines to android/settings.gradle:
    include ':zhike-fs-utils'
    project(':zhike-fs-utils').projectDir = new File(rootProject.projectDir, 	'../node_modules/zhike-fs-utils/android')
    
  2. Insert the following lines inside the dependencies block in android/app/build.gradle:
      compile project(':zhike-fs-utils')
    

Windows

Read it! :D

  1. In Visual Studio add the ZKFsUtils.sln in node_modules/zhike-fs-utils/windows/ZKFsUtils.sln folder to their solution, reference from their app.
  2. Open up your MainPage.cs app
  • Add using Cl.Json.ZKFsUtils; to the usings at the top of the file
  • Add new ZKFsUtilsPackage() to the List<IReactPackage> returned by the Packages method

Usage

import ZKFsUtils from 'zhike-fs-utils';
 
// TODO: What do with the module?
ZKFsUtils;

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.8
    0
    • latest

Version History

Package Sidebar

Install

npm i zhike-fs-utils

Weekly Downloads

6

Version

1.0.8

License

ISC

Last publish

Collaborators

  • wansong