lizhihui

更新添加OAID统计

Showing 120 changed files with 270 additions and 673 deletions
No preview for this file type
# 更新说明
# 快速更新说明(新接入请参考文档demo))
2019-10-30<br>
``` 在2018-12-19基础上,替换 libs 和 assets 资源即可 ```<br>
2018-12-19<br>
``` 在2018-09-19基础上,替换 libs 资源即可 ```<br>
......
No preview for this file type
......@@ -2,8 +2,8 @@
<config>
<sdkconfig
YA_APPID="5b96123bf0d7705a6107ef47"
YA_APPKEY="c3fd1c45163b357e976d17e9c4f43aa6"
YA_APPID="5a9e59a6f0d7706952ebe735"
YA_APPKEY="2cdc96b8bdc7c381174dcd46307bb0dc"
gamesimplename="testest"
......
No preview for this file type
No preview for this file type
......@@ -150,7 +150,7 @@ function initMatching(){
if(Core.isIos){
Core.server = 'https://sdk.uuufish.com';
}else{
Core.server = 'http://sdk.uuufish.com';
Core.server = 'https://sdk.uuufish.com';
}
......
SERVER_URL=http://sdk.uuufish.com
CDN_SERVER_URL=http://sdk.uuufish.com
SERVER_URL=https://sdk.uuufish.com
CDN_SERVER_URL=https://sdk.uuufish.com
SDK_TYPE=.sys_config_youyu
\ No newline at end of file
......
{
"supplier":{
"vivo":{
"appid":"100215079"
},
"xiaomi":{
},
"huawei":{
},
"oppo":{
}
}
}
No preview for this file type
*.iml
.gradle
/local.properties
/.idea/caches
/.idea/libraries
/.idea/modules.xml
/.idea/workspace.xml
/.idea/navEditor.xml
/.idea/assetWizardSettings.xml
.DS_Store
/build
/captures
.externalNativeBuild
<component name="ProjectCodeStyleConfiguration">
<code_scheme name="Project" version="173">
<Objective-C-extensions>
<file>
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Import" />
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Macro" />
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Typedef" />
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Enum" />
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Constant" />
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Global" />
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Struct" />
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="FunctionPredecl" />
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Function" />
</file>
<class>
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Property" />
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Synthesize" />
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="InitMethod" />
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="StaticMethod" />
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="InstanceMethod" />
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="DeallocMethod" />
</class>
<extensions>
<pair source="cpp" header="h" fileNamingConvention="NONE" />
<pair source="c" header="h" fileNamingConvention="NONE" />
</extensions>
</Objective-C-extensions>
</code_scheme>
</component>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="GradleSettings">
<option name="linkedExternalProjectsSettings">
<GradleProjectSettings>
<compositeConfiguration>
<compositeBuild compositeDefinitionSource="SCRIPT" />
</compositeConfiguration>
<option name="distributionType" value="DEFAULT_WRAPPED" />
<option name="externalProjectPath" value="$PROJECT_DIR$" />
<option name="resolveModulePerSourceSet" value="false" />
</GradleProjectSettings>
</option>
</component>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_7" project-jdk-name="1.8" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/build/classes" />
</component>
<component name="ProjectType">
<option name="id" value="Android" />
</component>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="RunConfigurationProducerService">
<option name="ignoredProducers">
<set>
<option value="org.jetbrains.plugins.gradle.execution.test.runner.AllInPackageGradleConfigurationProducer" />
<option value="org.jetbrains.plugins.gradle.execution.test.runner.TestClassGradleConfigurationProducer" />
<option value="org.jetbrains.plugins.gradle.execution.test.runner.TestMethodGradleConfigurationProducer" />
</set>
</option>
</component>
</project>
\ No newline at end of file
No preview for this file type
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.DEPENDENCIES"/>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" path="gen"/>
<classpathentry kind="output" path="bin/classes"/>
</classpath>
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>Demo_haibao_juhe_sdk</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.python.pydev.PyDevBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>com.android.ide.eclipse.adt.ResourceManagerBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>com.android.ide.eclipse.adt.PreCompilerBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>com.android.ide.eclipse.adt.ApkBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.buildship.core.gradleprojectbuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>com.android.ide.eclipse.adt.AndroidNature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.python.pydev.pythonNature</nature>
<nature>org.eclipse.buildship.core.gradleprojectnature</nature>
</natures>
</projectDescription>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?eclipse-pydev version="1.0"?><pydev_project>
<pydev_property name="org.python.pydev.PYTHON_PROJECT_INTERPRETER">Default</pydev_property>
<pydev_property name="org.python.pydev.PYTHON_PROJECT_VERSION">python 2.7</pydev_property>
</pydev_project>
connection.arguments=
connection.gradle.distribution=GRADLE_DISTRIBUTION(WRAPPER)
connection.java.home=null
connection.jvm.arguments=
connection.project.dir=
derived.resources=.gradle,build
eclipse.preferences.version=1
project.path=\:
eclipse.preferences.version=1
encoding/<project>=UTF-8
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
org.eclipse.jdt.core.compiler.compliance=1.6
org.eclipse.jdt.core.compiler.source=1.6
@echo off
cd /d %~dp0
"%ANT_ROOT%\bin\ant" clean release -f build.xml
pause
\ No newline at end of file
# This file is used to override default values used by the Ant build system.
#
# This file must be checked into Version Control Systems, as it is
# integral to the build system of your project.
# This file is only used by the Ant script.
# You can use this to override default values such as
# 'source.dir' for the location of your java source folder and
# 'out.dir' for the location of your output folder.
# You can also use it define how the release builds are signed by declaring
# the following properties:
# 'key.store' for the location of your keystore and
# 'key.alias' for the name of the key to use.
# The password will be asked during the build when you use the 'release' target.
This diff is collapsed. Click to expand it.
SERVER_URL=http://sdk.uuufish.com
CDN_SERVER_URL=http://sdk.uuufish.com
SDK_TYPE=.sys_config_youyu
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.yaxd.haibao.sdk.demo"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk
android:minSdkVersion="8"
android:targetSdkVersion="20" />
<!-- SDK start -->
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />
<uses-permission android:name="android.permission.READ_LOGS" />
<uses-permission android:name="android.permission.GET_TASKS" />
<uses-permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS" />
<uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" />
<uses-permission android:name="android.permission.RECORD_AUDIO" />
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
<uses-permission android:name="org.simalliance.openmobileapi.SMARTCARD" />
<uses-permission android:name="android.permission.NFC" />
<uses-feature android:name="android.hardware.nfc.hce" />
<!-- SDK end -->
<application
android:name="com.yaxd.haibao.sdk.application.PoolSDKApplication"
android:allowBackup="true"
android:icon="@drawable/public_sdk_self_ic_launcher"
android:label="@string/app_name" >
<activity
android:name="com.youai.foolsdk.demo.AppActivity"
android:configChanges="keyboardHidden|orientation|screenSize"
android:label="@string/app_name"
android:screenOrientation="landscape"
android:theme="@android:style/Theme.NoTitleBar.Fullscreen" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<!-- SDK start -->
<receiver android:name="com.yaxd.haibao.sdk.framework.AppInstallReceiver" >
<intent-filter>
<action android:name="android.intent.action.PACKAGE_ADDED" />
<action android:name="android.intent.action.PACKAGE_REPLACED" />
<action android:name="android.intent.action.PACKAGE_REMOVED" />
<data android:scheme="package" />
</intent-filter>
</receiver>
<activity
android:name="com.youai.sdk.YouaiSDK"
android:label="youai_sdk"
android:launchMode="singleTask"
android:theme="@android:style/Theme.Dialog" />
<service
android:name="com.youai.sdk.YouaiService"
android:enabled="true" >
<intent-filter>
<action android:name="com.youai.sdk.YouaiService" />
</intent-filter>
</service>
<service
android:name="com.youai.sdk.FloatViewService"
android:enabled="true"
android:exported="true" >
<intent-filter>
<action android:name="com.youai.sdk.FloatViewService" />
</intent-filter>
</service>
<receiver android:name="com.youai.sdk.Receiver" >
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</receiver>
<activity
android:name="com.alipay.sdk.app.H5PayActivity"
android:configChanges="keyboardHidden|navigation|orientation"
android:exported="false"
android:screenOrientation="behind" />
<activity
android:name="com.alipay.sdk.auth.AuthActivity"
android:configChanges="keyboardHidden|navigation|orientation"
android:exported="false"
android:screenOrientation="behind" />
<activity
android:name=".wxapi.WXPayEntryActivity"
android:exported="true"
android:launchMode="singleTop" />
<activity
android:name=".wxapi.WXEntryActivity"
android:exported="true"
android:launchMode="singleTop" />
<!-- SDK end -->
</application>
</manifest>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project name="PoolSdk" default="help">
<!-- The local.properties file is created and updated by the 'android' tool.
It contains the path to the SDK. It should *NOT* be checked into
Version Control Systems. -->
<property file="local.properties" />
<!-- The ant.properties file can be created by you. It is only edited by the
'android' tool to add properties to it.
This is the place to change some Ant specific build properties.
Here are some properties you may want to change/update:
source.dir
The name of the source directory. Default is 'src'.
out.dir
The name of the output directory. Default is 'bin'.
For other overridable properties, look at the beginning of the rules
files in the SDK, at tools/ant/build.xml
Properties related to the SDK location or the project target should
be updated using the 'android' tool with the 'update' action.
This file is an integral part of the build system for your
application and should be checked into Version Control Systems.
-->
<property file="ant.properties" />
<!-- if sdk.dir was not set from one of the property file, then
get it from the ANDROID_HOME env var.
This must be done before we load project.properties since
the proguard config can use sdk.dir -->
<property environment="env" />
<condition property="sdk.dir" value="${env.ANDROID_HOME}">
<isset property="env.ANDROID_HOME" />
</condition>
<!-- The project.properties file is created and updated by the 'android'
tool, as well as ADT.
This contains project specific properties such as project target, and library
dependencies. Lower level build properties are stored in ant.properties
(or in .classpath for Eclipse projects).
This file is an integral part of the build system for your
application and should be checked into Version Control Systems. -->
<loadproperties srcFile="project.properties" />
<!-- quick check on sdk.dir -->
<fail
message="sdk.dir is missing. Make sure to generate local.properties using 'android update project' or to inject it through the ANDROID_HOME environment variable."
unless="sdk.dir"
/>
<!--
Import per project custom build rules if present at the root of the project.
This is the place to put custom intermediary targets such as:
-pre-build
-pre-compile
-post-compile (This is typically used for code obfuscation.
Compiled code location: ${out.classes.absolute.dir}
If this is not done in place, override ${out.dex.input.absolute.dir})
-post-package
-post-build
-pre-clean
-->
<import file="custom_rules.xml" optional="true" />
<!-- Import the actual build file.
To customize existing targets, there are two options:
- Customize only one target:
- copy/paste the target into this file, *before* the
<import> task.
- customize it to your needs.
- Customize the whole content of build.xml
- copy/paste the content of the rules files (minus the top node)
into this file, replacing the <import> task.
- customize to your needs.
***********************
****** IMPORTANT ******
***********************
In all cases you must update the value of version-tag below to read 'custom' instead of an integer,
in order to avoid having your file be overridden by tools such as "android update project"
-->
<!-- version-tag: 1 -->
<import file="${sdk.dir}/tools/ant/build.xml" />
</project>
/** Automatically generated file. DO NOT MODIFY */
package com.yaxd.haibao.sdk.demo;
public final class BuildConfig {
public final static boolean DEBUG = true;
}
\ No newline at end of file
/* AUTO-GENERATED FILE. DO NOT MODIFY.
*
* This class was automatically generated by the
* aapt tool from the resource data it found. It
* should not be modified by hand.
*/
package com.yaxd.haibao.sdk.demo;
public final class R {
public static final class attr {
}
public static final class drawable {
public static final int public_sdk_self_demo_btn_login_n=0x7f020000;
public static final int public_sdk_self_demo_btn_login_s=0x7f020001;
public static final int public_sdk_self_demo_btn_main_n=0x7f020002;
public static final int public_sdk_self_demo_btn_main_s=0x7f020003;
public static final int public_sdk_self_demo_main=0x7f020004;
public static final int public_sdk_self_ic_launcher=0x7f020005;
public static final int public_sdk_self_sdk_login_bg=0x7f020006;
public static final int public_sdk_self_ya_bt_selector=0x7f020007;
public static final int public_sdk_self_ya_login_bt_selector=0x7f020008;
}
public static final class id {
public static final int forum_bt=0x7f050005;
public static final int logout_bt=0x7f050004;
public static final int ya_channel_center=0x7f050000;
public static final int ya_enter_game_bt=0x7f050007;
public static final int ya_login_bt=0x7f050006;
public static final int ya_pay_bt=0x7f050001;
public static final int ya_submit_role_data_bt=0x7f050003;
public static final int ya_switch_account_bt=0x7f050002;
}
public static final class layout {
public static final int public_sdk_self_game=0x7f030000;
public static final int public_sdk_self_game_login=0x7f030001;
}
public static final class string {
public static final int app_name=0x7f040000;
}
}
/** Automatically generated file. DO NOT MODIFY */
package com.youai.poolsdk.demo;
public final class BuildConfig {
public final static boolean DEBUG = true;
}
\ No newline at end of file
/* AUTO-GENERATED FILE. DO NOT MODIFY.
*
* This class was automatically generated by the
* aapt tool from the resource data it found. It
* should not be modified by hand.
*/
package com.youai.poolsdk.demo;
public final class R {
public static final class attr {
}
public static final class drawable {
public static final int public_sdk_self_demo_btn_login_n=0x7f020000;
public static final int public_sdk_self_demo_btn_login_s=0x7f020001;
public static final int public_sdk_self_demo_btn_main_n=0x7f020002;
public static final int public_sdk_self_demo_btn_main_s=0x7f020003;
public static final int public_sdk_self_demo_main=0x7f020004;
public static final int public_sdk_self_ic_launcher=0x7f020005;
public static final int public_sdk_self_sdk_login_bg=0x7f020006;
public static final int public_sdk_self_ya_bt_selector=0x7f020007;
public static final int public_sdk_self_ya_login_bt_selector=0x7f020008;
}
public static final class id {
public static final int forum_bt=0x7f050005;
public static final int logout_bt=0x7f050004;
public static final int ya_channel_center=0x7f050000;
public static final int ya_enter_game_bt=0x7f050007;
public static final int ya_login_bt=0x7f050006;
public static final int ya_pay_bt=0x7f050001;
public static final int ya_submit_role_data_bt=0x7f050003;
public static final int ya_switch_account_bt=0x7f050002;
}
public static final class layout {
public static final int public_sdk_self_game=0x7f030000;
public static final int public_sdk_self_game_login=0x7f030001;
}
public static final class string {
public static final int app_name=0x7f040000;
}
}
<?xml version="1.0" encoding="UTF-8"?>
<lint>
</lint>
\ No newline at end of file
# This file is automatically generated by Android Tools.
# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
#
# 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 Ant
# For customization when using a Version Control System, please read the
# header note.
sdk.dir=D:\\android\\sdk
# This file is automatically generated by Android Tools.
# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
#
# This file must be checked in Version Control Systems.
#
# To customize properties used by the Ant build system edit
# "ant.properties", and override values to adapt the script to your
# project structure.
#
# To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home):
#proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt
# Project target.
target=android-20
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android" >
<item android:drawable="@drawable/public_sdk_self_demo_btn_main_s" android:state_selected="true"/>
<item android:drawable="@drawable/public_sdk_self_demo_btn_main_s" android:state_pressed="true"/>
<item android:drawable="@drawable/public_sdk_self_demo_btn_main_n"/>
</selector>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android" >
<item android:drawable="@drawable/public_sdk_self_demo_btn_login_s" android:state_selected="true"/>
<item android:drawable="@drawable/public_sdk_self_demo_btn_login_s" android:state_pressed="true"/>
<item android:drawable="@drawable/public_sdk_self_demo_btn_login_n"/>
</selector>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/public_sdk_self_demo_main" >
<Button
android:id="@+id/ya_channel_center"
android:layout_width="180dp"
android:layout_height="60dp"
android:layout_alignParentRight="true"
android:layout_alignTop="@+id/ya_pay_bt"
android:background="@drawable/public_sdk_self_ya_bt_selector"
android:onClick="yaOnClick"/>
<Button
android:id="@+id/ya_switch_account_bt"
android:layout_width="180dp"
android:layout_height="60dp"
android:layout_alignParentRight="true"
android:layout_alignTop="@+id/ya_submit_role_data_bt"
android:background="@drawable/public_sdk_self_ya_bt_selector"
android:onClick="yaOnClick" />
<Button
android:id="@+id/ya_submit_role_data_bt"
android:layout_width="180dp"
android:layout_height="60dp"
android:layout_alignParentBottom="true"
android:layout_alignParentLeft="true"
android:background="@drawable/public_sdk_self_ya_bt_selector"
android:onClick="yaOnClick" />
<Button
android:id="@+id/ya_pay_bt"
android:layout_width="180dp"
android:layout_height="60dp"
android:layout_alignParentLeft="true"
android:layout_alignParentTop="true"
android:background="@drawable/public_sdk_self_ya_bt_selector"
android:onClick="yaOnClick" />
<Button
android:id="@+id/logout_bt"
android:layout_width="180dp"
android:layout_height="60dp"
android:layout_alignParentLeft="true"
android:layout_centerVertical="true"
android:background="@drawable/public_sdk_self_ya_bt_selector"
android:onClick="yaOnClick"
android:text="注销"
android:textColor="@android:color/black"
/>
<Button
android:id="@+id/forum_bt"
android:layout_width="180dp"
android:layout_height="60dp"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
android:background="@drawable/public_sdk_self_ya_bt_selector"
android:onClick="yaOnClick"
android:text="论坛"
android:textColor="@android:color/black"
/>
</RelativeLayout>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:background="@drawable/public_sdk_self_sdk_login_bg"
android:layout_height="match_parent" >
<Button
android:id="@+id/ya_login_bt"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_alignParentTop="true"
android:layout_marginRight="28dp"
android:layout_marginTop="21dp"
android:background="@drawable/public_sdk_self_ya_login_bt_selector"
android:onClick="yaOnClick" />
<Button
android:id="@+id/ya_enter_game_bt"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignLeft="@+id/ya_login_bt"
android:layout_below="@+id/ya_login_bt"
android:layout_marginTop="28dp"
android:background="@drawable/public_sdk_self_ya_login_bt_selector"
android:onClick="yaOnClick"/>
</RelativeLayout>
apply plugin: 'com.android.application'
android {
compileSdkVersion 29
buildToolsVersion '29.0.2'
defaultConfig {
applicationId "com.haibaojuhe.demo"
targetSdkVersion 27
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
implementation fileTree(include: ['*.jar', '*.aar'], dir: 'libs')
}
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
# To enable ProGuard in your project, edit project.properties
# to define the proguard.config property as described in that file.
#
# Add project specific ProGuard rules here.
# By default, the flags in this file are appended to flags specified
# in ${sdk.dir}/tools/proguard/proguard-android.txt
# You can edit the include path and order by changing the ProGuard
# include property in project.properties.
# You can control the set of applied configuration files using the
# proguardFiles setting in build.gradle.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html
# Add any project specific keep options here:
# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
# class:
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}
# Uncomment this to preserve the line number information for
# debugging stack traces.
#-keepattributes SourceFile,LineNumberTable
# If you keep the line number information, uncomment this to
# hide the original source file name.
#-renamesourcefileattribute SourceFile
......
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.yaxd.haibao.sdk.demo"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk
android:minSdkVersion="8"
android:targetSdkVersion="20" />
package="com.youai.demo.poolsdk">
<!-- SDK start -->
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
......@@ -24,7 +18,6 @@
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
<uses-permission android:name="org.simalliance.openmobileapi.SMARTCARD" />
<uses-permission android:name="android.permission.NFC" />
<uses-feature android:name="android.hardware.nfc.hce" />
<!-- SDK end -->
......@@ -37,7 +30,7 @@
android:name="com.youai.foolsdk.demo.AppActivity"
android:configChanges="keyboardHidden|orientation|screenSize"
android:label="@string/app_name"
android:screenOrientation="landscape"
android:screenOrientation="portrait"
android:theme="@android:style/Theme.NoTitleBar.Fullscreen" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
......@@ -46,7 +39,9 @@
</intent-filter>
</activity>
<!-- SDK start -->
<receiver android:name="com.yaxd.haibao.sdk.framework.AppInstallReceiver" >
<receiver
android:name="com.yaxd.haibao.sdk.framework.AppInstallReceiver"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.PACKAGE_ADDED" />
<action android:name="android.intent.action.PACKAGE_REPLACED" />
......@@ -69,14 +64,6 @@
<action android:name="com.youai.sdk.YouaiService" />
</intent-filter>
</service>
<service
android:name="com.youai.sdk.FloatViewService"
android:enabled="true"
android:exported="true" >
<intent-filter>
<action android:name="com.youai.sdk.FloatViewService" />
</intent-filter>
</service>
<receiver android:name="com.youai.sdk.Receiver" >
<intent-filter>
......@@ -96,14 +83,6 @@
android:configChanges="keyboardHidden|navigation|orientation"
android:exported="false"
android:screenOrientation="behind" />
<activity
android:name=".wxapi.WXPayEntryActivity"
android:exported="true"
android:launchMode="singleTop" />
<activity
android:name=".wxapi.WXEntryActivity"
android:exported="true"
android:launchMode="singleTop" />
<!-- SDK end -->
</application>
......
<?xml version="1.0" encoding="utf-8"?>
<config>
<sdkconfig
YA_APPID="5b96123bf0d7705a6107ef47"
YA_APPKEY="c3fd1c45163b357e976d17e9c4f43aa6"
gamesimplename="testest"
sdksimplename="youyu"
sdkversioncode="V1_1"
channelparameter1=""
channelparameter2=""
custom=""
gamechannelid=""
logincheckurl="http://login.public.sdk.haibaoyouxi.com:9010/logincheck/check"
payorderurl="http://pay.public.sdk.haibaoyouxi.com:9020/paycheck/create"
paycheckurl="http://pay.public.sdk.haibaoyouxi.com:9020/paycheck/confirm"
usertype="gssaXIIEiL0=" />
<?xml version="1.0" encoding="utf-8"?>
<config>
<sdkconfig
YA_APPID="5a9e59a6f0d7706952ebe735"
YA_APPKEY="2cdc96b8bdc7c381174dcd46307bb0dc"
gamesimplename="testest"
sdksimplename="youyu"
sdkversioncode="V1_1"
channelparameter1=""
channelparameter2=""
custom=""
gamechannelid=""
logincheckurl="http://login.public.sdk.haibaoyouxi.com:9010/logincheck/check"
payorderurl="http://pay.public.sdk.haibaoyouxi.com:9020/paycheck/create"
paycheckurl="http://pay.public.sdk.haibaoyouxi.com:9020/paycheck/confirm"
usertype="gssaXIIEiL0=" />
</config>
\ No newline at end of file
......
No preview for this file type
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>sdk_3</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>com.aptana.editor.php.aptanaPhpBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>com.aptana.ide.core.unifiedBuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>com.aptana.projects.webnature</nature>
<nature>com.aptana.editor.php.phpNature</nature>
</natures>
<filteredResources>
<filter>
<id>1489975865951</id>
<name></name>
<type>26</type>
<matcher>
<id>org.eclipse.ui.ide.multiFilter</id>
<arguments>1.0-name-matches-false-false-node_modules</arguments>
</matcher>
</filter>
</filteredResources>
</projectDescription>
This diff is collapsed. Click to expand it.
......@@ -150,7 +150,7 @@ function initMatching(){
if(Core.isIos){
Core.server = 'https://sdk.uuufish.com';
}else{
Core.server = 'http://sdk.uuufish.com';
Core.server = 'https://sdk.uuufish.com';
}
......
......@@ -172,6 +172,7 @@
Core.updateMod('frame');
return false;
});
}
Login.prototype.cache = function(n, p) {
......@@ -215,9 +216,9 @@
Core.user_indexs = index_ary;
Core.user_names = name_ary;
$("input[name='loginUserName']").val(Core.Data.username);
$("input[name='loginUserName']").val(Core.Data.username);
$("input[name='loginPassword']").val(Core.user_names[Core.Data.username]);
}
Login.prototype.login_cb = function(result) {
Core.updateData(result.msg);
......@@ -385,37 +386,31 @@
});
// that.$c.on('click', '[type=submit],.submit', function(e) {
// var passWordReg = /^[0-9a-zA-Z]+$/;
// e.preventDefault();
// if(/[A-Z]/.test(that.$c.find("input[name='username']").val())){
// Core.showTips("账号不能有大写字母!");
// }else if(/[A-Z]/.test(that.$c.find("input[name='password']").val())){
// Core.showTips("密码不能有大写字母!");
// }else if(that.$c.find("input[name='password']").val().length<6 || that.$c.find("input[name='password']").val().length>16){
// Core.showTips("密码长度为6-16位字符!");
// }else if(!that.$c.find('.checkbox-2').length>0){
// Core.showTips('请同意'+Core.PLATFORM_NAME+'网络协议',1);
// }else if(!passWordReg.test(that.$c.find("input[name='password']").val())){
// Core.showTips('请输入数字字母组成的密码!', true);
// return false;
// }else{
// //如果是游客的话则调用安卓截屏方法
// if (that.$c.find('[name="username"]').val() == that.$c.find('[name="old_usernmae"]').val() && window.android != undefined && window.android.screenShot != undefined ){
// window.android.screenShot();
// }
// $(this).attr("disabled",true);
// $(this).css({"background":"#999"});
// $(this).parent("li").css({"background":"#999"});
//
// Core.ajax_do(that.$c.find('.ajax'), that.register_cb, that);
// }
// return false;
// });
that.$c.on('click', '[type=submit],.submit', function(e) {
var passWordReg = /^[0-9a-zA-Z]+$/;
e.preventDefault();
Core.ajax_do(that.$c.find('.ajax'), that.register_cb, that);
if(/[A-Z]/.test(that.$c.find("input[name='username']").val())){
Core.showTips("账号不能有大写字母!");
}else if(/[A-Z]/.test(that.$c.find("input[name='password']").val())){
Core.showTips("密码不能有大写字母!");
}else if(that.$c.find("input[name='password']").val().length<6 || that.$c.find("input[name='password']").val().length>16){
Core.showTips("密码长度为6-16位字符!");
}else if(!that.$c.find('.checkbox-2').length>0){
Core.showTips('请同意'+Core.PLATFORM_NAME+'网络协议',1);
}else if(!passWordReg.test(that.$c.find("input[name='password']").val())){
Core.showTips('请输入数字字母组成的密码!', true);
return false;
}else{
//如果是游客的话则调用安卓截屏方法
if (that.$c.find('[name="username"]').val() == that.$c.find('[name="old_usernmae"]').val() && window.android != undefined && window.android.screenShot != undefined ){
window.android.screenShot();
}
$(this).attr("disabled",true);
$(this).css({"background":"#999"});
$(this).parent("li").css({"background":"#999"});
Core.ajax_do(that.$c.find('.ajax'), that.register_cb, that);
}
return false;
});
......@@ -430,7 +425,7 @@
}
Register.prototype.set_random = function(){
var that = this;
var random_name = 'yy' + Math.random().toString(36).substr(-2) + new Date().getTime().toString(36).substr(-6)
var random_name = 'yy' + Math.random().toString(36).substr(-2) + new Date().getTime().toString(36).substr(-4)
var random_passwd = Math.random().toString(36).substr(-6)
that.$c.find('[name="username"]').val(random_name)
that.$c.find('[name="old_usernmae"]').val(random_name)
......@@ -450,19 +445,14 @@
// 显示一个注册成功信息,并跳转到home
this.cache();
Core.showTips('成功注册,欢迎使用' + Core.PLATFORM_NAME + '游戏平台');
//直接进入游戏
Core.finishLogin();
// Core.updateMod('home');
//
// this.$c.find("input#btn-regist").attr('disabled', null);
// this.$c.find('.submit').css({"background":"#00beef"});
// this.$c.find('.submit').parent("li").css({"background":"#00beef"});
Core.updateMod('home');
this.$c.find("input#btn-regist").attr('disabled', null);
this.$c.find('.submit').css({"background":"#00beef"});
this.$c.find('.submit').parent("li").css({"background":"#00beef"});
}
Register.prototype.show_after = function() {
this.set_random();
Core.hide();
Core.showMod("login");
this.$c.find("[type=submit],.submit").click();
}
Core.registerMod('register', Register);
......
......@@ -948,7 +948,7 @@
}
IdentityCard.prototype.show_after = function(){
if(Core.Data.force_auth == 1){
$(".js-return-game").attr("href","javascript:Core.finishLogin()");
$(".js-return-game").attr("href","javascript:Core.finishPay()");
}
}
......
date:2017-4-11
date:2017-4-11
author
:lizenghua
:lizenghua
instructions
:与星玩SDK同步
date:2017-4-12
author:lizenghua
instructions:修复当账户及密码为空时(本地存储的账号密码数据为空),通过密保找回密码时一直处于加载中无法跳转的问题
date:2017-4-21
author:lizenghua
instructions:
1、当用户是正式用户并绑定了手机后进行实名认证;身份证校验js:identity_id.js
改动的文件有:login.html、login.js(同步在sdk_xingwan、sdk_6)
2、改动注释了pay.js里面的911行到918行:进入sdk要购买的游戏币>0时强制进入渠道充值页面(已同步在sdk_xingwan、sdk_6)
date:2017-4-24
author:lizenghua
instructions:
1、处理绑定手机的手机验证规则(176),
2、手机找回密码中重置密码残留旧密码问题
date:2017-5-3
author:lizenghua
instructions:
1、注释掉pay.html中的“游爱星”兑换入口
2、处理支付方式切换中出现 input_item 为undefind 的bug (将383行的{{?}}移至435行)
3、去掉设置密保中select默认的下拉图标(login.css)
4、如果没有第三方登录则隐藏掉“第三方登录”字眼
date:2017-5-8
author:lizenghua
instructions:处理支付方式点击支付图标出现 input_item 为undefind 的bug(将150行$c改成$(this))
date:2017-5-12
author:lizenghua
:与星玩SDK同步
date:2017-4-12
author:lizenghua
instructions:修复当账户及密码为空时(本地存储的账号密码数据为空),通过密保找回密码时一直处于加载中无法跳转的问题
date:2017-4-21
author:lizenghua
instructions:
1、当用户是正式用户并绑定了手机后进行实名认证;身份证校验js:identity_id.js
改动的文件有:login.html、login.js(同步在sdk_xingwan、sdk_6)
2、改动注释了pay.js里面的911行到918行:进入sdk要购买的游戏币>0时强制进入渠道充值页面(已同步在sdk_xingwan、sdk_6)
date:2017-4-24
author:lizenghua
instructions:
1、处理绑定手机的手机验证规则(176),
2、手机找回密码中重置密码残留旧密码问题
date:2017-5-3
author:lizenghua
instructions:
1、注释掉pay.html中的“游爱星”兑换入口
2、处理支付方式切换中出现 input_item 为undefind 的bug (将383行的{{?}}移至435行)
3、去掉设置密保中select默认的下拉图标(login.css)
4、如果没有第三方登录则隐藏掉“第三方登录”字眼
date:2017-5-8
author:lizenghua
instructions:处理支付方式点击支付图标出现 input_item 为undefind 的bug(将150行$c改成$(this))
date:2017-5-12
author:lizenghua
instructions:修改充值的界面显示大小
\ No newline at end of file
......
20180906
\ No newline at end of file
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
No preview for this file type
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type