Commit 965cb387 authored by gaorui's avatar gaorui
Browse files

feat(app):update maven library

parent 06f6cd4a
...@@ -39,7 +39,20 @@ android { ...@@ -39,7 +39,20 @@ android {
} }
dependencies { dependencies {
//注意远程依赖库的版本(必须) implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation 'com.hoolai.access.open:hoolai-core:1.0.0.0-global12' //hoolai-core
implementation 'com.hoolai.oversea:hl-oversea-global:1.0.0.0-dev5' implementation 'com.hoolai.access.open:hoolai-core:1.0.3.21'
//基础功能模块,登录/支付/分享等
implementation 'com.hoolai.oversea:hl-oversea-global:1.0.0.1'
//appsflyer(选接)
implementation 'com.hoolai.oversea.appsflyer:appsflyer:1.0.0.1'
//firebase(选接)
implementation 'com.hoolai.oversea.firebase:firebase:1.0.0.1'
//aihelp(选接)
implementation 'com.hoolai.oversea.aihelp:aihelp:1.0.0.1'
//facebooklinks(选接)
implementation 'com.hoolai.oversea.links:facebooklinks:1.0.0.0'
//openInstall(选接)
implementation 'com.hoolai.oversea.opins:openInstall:1.0.0.0'
} }
\ No newline at end of file
...@@ -51,13 +51,16 @@ ...@@ -51,13 +51,16 @@
android:name="android.notch_support" android:name="android.notch_support"
android:value="true" /> android:value="true" />
<!--Facebook login and share--> <!-- Games Services Sign In v2 如要使用PGS登录必须配置!否则不需要加-->
<!-- facebook share 注意这里的facebook_app_id需要直接替换成参数本身,比如987654321--> <meta-data android:name="com.google.android.gms.games.APP_ID"
android:value="@string/game_services_project_id"/>
<!-- Games Services Sign In v2 如要使用PGS登录必须配置!否则不需要加-->
<!--Facebook login share-->
<provider <provider
android:name="com.facebook.FacebookContentProvider" android:name="com.facebook.FacebookContentProvider"
android:authorities="com.facebook.app.FacebookContentProvider987654321" android:authorities="com.facebook.app.FacebookContentProvider1234567890"
android:exported="true" /> android:exported="true" />
<!-- share-->
<meta-data <meta-data
android:name="com.facebook.sdk.ApplicationId" android:name="com.facebook.sdk.ApplicationId"
...@@ -66,6 +69,7 @@ ...@@ -66,6 +69,7 @@
<meta-data <meta-data
android:name="com.facebook.sdk.ClientToken" android:name="com.facebook.sdk.ClientToken"
android:value="@string/facebook_client_token" /> android:value="@string/facebook_client_token" />
<activity <activity
android:name="com.facebook.CustomTabActivity" android:name="com.facebook.CustomTabActivity"
android:exported="true"> android:exported="true">
......
package com.hoolai.access.demo;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
public class JavaTest {
public static void main(String[] args) {
String message = "欢迎使用《重构官网》,在您使用前,请认真阅读《用户服务协议》和《隐私政策》《隐私政策2》《隐私政策3》,以了解我们的服";
message = message.replace(message.substring(0, message.indexOf(",") + 1), "");
Pattern pattern = Pattern.compile("《(.*?)》");
Matcher matcher = pattern.matcher(message);
try{
String[] strs = {"11", "22", "33"};
int i = 0;
while(matcher.find()){
System.out.println(matcher.group());
System.out.println(strs[i]);
System.out.println("==========");
i++;
}
}catch (Exception e){
e.printStackTrace();
}
// String[] temp = message.split("《");
// for(int i = 0; i < temp.length; i++){
// if (i > 0 && i < temp.length){
// String str = temp[i].split("》")[0];
// System.out.println(str);
// System.out.println(message.substring(message.indexOf(str) - 1, message.indexOf(str) + str.length() + 1));
// System.out.println("==========");
// }
// }
// System.out.println(b.length);
}
}
## This file must *NOT* be checked into Version Control Systems,
# as it contains information specific to your local configuration.
#
# Location of the SDK. This is only used by Gradle.
# For customization when using a Version Control System, please read the
# header note.
#Thu Mar 16 14:51:48 CST 2023
sdk.dir=/Users/gaorui/Library/Android/sdk
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment