component_alioss


Лицензия

Лицензия

Группа

Группа

io.github.eselltech
Идентификатор

Идентификатор

component_alioss
Последняя версия

Последняя версия

1.0.0
Дата

Дата

Тип

Тип

aar
Описание

Описание

component_alioss
component_alioss
Ссылка на сайт

Ссылка на сайт

https://github.com/eselltech/YXFSDKSimple
Система контроля версий

Система контроля версий

https://github.com/eselltech/YXFSDKSimple/tree/master

Скачать component_alioss

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/io.github.eselltech/component_alioss/ -->
<dependency>
    <groupId>io.github.eselltech</groupId>
    <artifactId>component_alioss</artifactId>
    <version>1.0.0</version>
    <type>aar</type>
</dependency>
// https://jarcasting.com/artifacts/io.github.eselltech/component_alioss/
implementation 'io.github.eselltech:component_alioss:1.0.0'
// https://jarcasting.com/artifacts/io.github.eselltech/component_alioss/
implementation ("io.github.eselltech:component_alioss:1.0.0")
'io.github.eselltech:component_alioss:aar:1.0.0'
<dependency org="io.github.eselltech" name="component_alioss" rev="1.0.0">
  <artifact name="component_alioss" type="aar" />
</dependency>
@Grapes(
@Grab(group='io.github.eselltech', module='component_alioss', version='1.0.0')
)
libraryDependencies += "io.github.eselltech" % "component_alioss" % "1.0.0"
[io.github.eselltech/component_alioss "1.0.0"]

Зависимости

compile (1)

Идентификатор библиотеки Тип Версия
com.aliyun.dpa : oss-android-sdk jar 2.9.4

Модули Проекта

Данный проект не имеет модулей.

1x版本

2xdoc

2x版本

20210510
    1、支持bp下发基础控制、定时开关机、远程截屏、固件升级、音量策略、亮度策略、下载策略
        {@link Yxf#setController(Application, IController)}
        
2.0.0-SNAPSHOT 20210506
    1、仓库迁移到 mavenCenter,根目录gradle 添加仓库
        allprojects {
            repositories {
                ...
                maven { url 'https://s01.oss.sonatype.org/content/repositories/snapshots/' }
            }
        }
    2、依赖groupId 更改 implementation 'io.github.eselltech:artifactId:version'
    3、接入逻辑修改 引入屏、模板、组件概念
    4、支持组件:广告位、固定图片、固定视频、固定文本、时钟、静态网页、浏览器、扫码投屏
    5、支持广告:图片、视频、文本、网站、wps

添加仓库

allprojects {
    repositories {
        google()
        jcenter()
        maven {  //阿里云远程仓库
            url "http://maven.aliyun.com/nexus/content/repositories/releases"
        }
        maven { url 'https://s01.oss.sonatype.org/content/repositories/snapshots/' }
    }
}

添加依赖

implementation 'io.github.eselltech:yxf:2.0.0-SNAPSHOT'

必要配置

implementation 'androidx.multidex:multidex:2.0.1'

自定义Application 添加到 AndroidManifest.xml

public class MyApp extends Application implements Configuration.Provider {
    @Override
    protected void attachBaseContext(Context base) {
        super.attachBaseContext(base);
        MultiDex.install(this);
        Yxf.getInstance().attachBaseContext(this);
    }

    @NonNull
    @Override
    public Configuration getWorkManagerConfiguration() {
        return new Configuration.Builder().setMinimumLoggingLevel(android.util.Log.INFO).build();
    }
}

android {
    ...
    defaultConfig {
        ...
        multiDexEnabled true
        ...
    }

    compileOptions {
        sourceCompatibility 1.8
        targetCompatibility 1.8
    }
    packagingOptions {
        pickFirst  'lib/arm64-v8a/libc++_shared.so'
        pickFirst  'lib/x86/libc++_shared.so'
        pickFirst  'lib/armeabi-v7a/libc++_shared.so'
    }
}

添加权限

    <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
    <uses-permission android:name="android.permission.READ_PHONE_STATE" />
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
    <uses-permission android:name="android.permission.INTERNET"/>
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
    <uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>

添加服务

    <service
        android:name="com.esell.component_mqtt.EsellMqttService"
        android:process=":mqtt" />

混淆

Версии библиотеки

Версия
1.0.0
legacy-1x