1.0.20 • Published 1 year ago

@aks-dev/ipush v1.0.20

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

ipush

Getting started

$ npm install @aks-dev/ipush --save

or

$ yarn add @aks-dev/ipush

Manual installation

iOS

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

Android

  1. 打开project下面build.gradle文件。
buildscript {//这里是gradle脚本执行所需依赖,分别是对应的maven库和插件
	repositories {
		maven { url 'https://developer.huawei.com/repo/' }
	}
	dependencies {
		classpath 'com.huawei.agconnect:agcp:1.6.0.300'
	}
}
allprojects {
	repositories {
		flatDir { dirs project(':aks-dev_ipush').file('libs') }
		maven { url 'https://developer.huawei.com/repo/' }
	}
}
  1. 打开app下面build.gradle文件。
apply plugin: "com.android.application"
下面添加
apply plugin: "com.huawei.agconnect"
  1. app下面添加agconnect-services.json

Usage

import * as RNIpush from 'react-native-ipush';

// TODO: What to do with the module?
RNIpush;
1.0.20

1 year ago

1.0.19

1 year ago

1.0.18

1 year ago

1.0.17

1 year ago

1.0.16

1 year ago

1.0.15

1 year ago

1.0.14

1 year ago

1.0.13

1 year ago

1.0.12

1 year ago

1.0.11

1 year ago

1.0.10

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago