Permalink
Browse files

upgrade to SMSSDK 3.0.0

  • Loading branch information...
shijiewei committed Jun 13, 2017
1 parent bb44116 commit bfb7132c6e9d7901808f084fb4727a58771ba0be
Showing with 272 additions and 78 deletions.
  1. +1 −2 Android-SMSSDKBridge/.gitignore
  2. BIN Android-SMSSDKBridge/app/libs/MobCommons-2016.0714.1355.jar
  3. BIN Android-SMSSDKBridge/app/libs/MobCommons-2017.0601.1226.jar
  4. BIN Android-SMSSDKBridge/app/libs/MobTools-2016.0714.1355.jar
  5. BIN Android-SMSSDKBridge/app/libs/MobTools-2017.0601.1226.jar
  6. BIN Android-SMSSDKBridge/app/libs/SMSSDK-2.1.1.jar
  7. BIN Android-SMSSDKBridge/app/libs/SMSSDK-3.0.0.jar
  8. BIN Android-SMSSDKBridge/app/libs/SMSSDKGUI-2.1.1.jar
  9. BIN Android-SMSSDKBridge/app/libs/SMSSDKGUI-3.0.0.jar
  10. +5 −1 Android-SMSSDKBridge/app/src/main/java/cn/smssdk/unity3d/SMSSDKGUI.java
  11. +6 −2 Android-SMSSDKBridge/app/src/main/java/cn/smssdk/unity3d/SMSSDKUtils.java
  12. +22 −7 Unity3DForSMSSDK/Assembly-CSharp-firstpass.csproj
  13. +25 −10 Unity3DForSMSSDK/Assembly-CSharp.csproj
  14. +2 −1 Unity3DForSMSSDK/Assets/Demo.cs
  15. BIN Unity3DForSMSSDK/Assets/Demo.unity
  16. +2 −2 Unity3DForSMSSDK/Assets/Plugins/Android/SMSSDK/AndroidManifest.xml
  17. BIN Unity3DForSMSSDK/Assets/Plugins/Android/SMSSDK/libs/MobCommons-2016.1201.1839.jar
  18. BIN Unity3DForSMSSDK/Assets/Plugins/Android/SMSSDK/libs/MobCommons-2017.0607.1736.jar
  19. +2 −2 ...ins/Android/SMSSDK/libs/{MobCommons-2016.1201.1839.jar.meta → MobCommons-2017.0607.1736.jar.meta}
  20. BIN Unity3DForSMSSDK/Assets/Plugins/Android/SMSSDK/libs/MobTools-2016.1201.1839.jar
  21. BIN Unity3DForSMSSDK/Assets/Plugins/Android/SMSSDK/libs/MobTools-2017.0607.1736.jar
  22. +2 −2 ...Plugins/Android/SMSSDK/libs/{MobTools-2016.1201.1839.jar.meta → MobTools-2017.0607.1736.jar.meta}
  23. BIN Unity3DForSMSSDK/Assets/Plugins/Android/SMSSDK/libs/SMSSDK-2.1.3.jar
  24. BIN Unity3DForSMSSDK/Assets/Plugins/Android/SMSSDK/libs/SMSSDK-3.0.0.jar
  25. +2 −2 Unity3DForSMSSDK/Assets/Plugins/Android/SMSSDK/libs/{SMSSDK-2.1.3.jar.meta → SMSSDK-3.0.0.jar.meta}
  26. BIN Unity3DForSMSSDK/Assets/Plugins/Android/SMSSDK/libs/SMSSDKUnityBridge.jar
  27. +2 −2 Unity3DForSMSSDK/Assets/Plugins/Android/SMSSDK/libs/SMSSDKUnityBridge.jar.meta
  28. +41 −1 Unity3DForSMSSDK/Assets/Plugins/Android/SMSSDK/res/values-en/smssdk_errors.xml
  29. +2 −2 Unity3DForSMSSDK/Assets/Plugins/Android/SMSSDK/res/values-en/smssdk_errors.xml.meta
  30. +41 −0 Unity3DForSMSSDK/Assets/Plugins/Android/SMSSDK/res/values/smssdk_errors.xml
  31. +2 −2 Unity3DForSMSSDK/Assets/Plugins/Android/SMSSDK/res/values/smssdk_errors.xml.meta
  32. +18 −0 Unity3DForSMSSDK/Assets/Plugins/Android/SMSSDK/res/values/smssdk_styles.xml
  33. +2 −2 ...oid/{ShortMessageSDKGUI/libs/SMSSDKGUI-2.1.2.jar.meta → SMSSDK/res/values/smssdk_styles.xml.meta}
  34. +2 −2 Unity3DForSMSSDK/Assets/Plugins/Android/ShortMessageSDKGUI/AndroidManifest.xml
  35. BIN Unity3DForSMSSDK/Assets/Plugins/Android/ShortMessageSDKGUI/libs/SMSSDKGUI-2.1.2.jar
  36. BIN Unity3DForSMSSDK/Assets/Plugins/Android/ShortMessageSDKGUI/libs/SMSSDKGUI-3.0.0.jar
  37. +8 −0 Unity3DForSMSSDK/Assets/Plugins/Android/ShortMessageSDKGUI/libs/SMSSDKGUI-3.0.0.jar.meta
  38. +40 −0 Unity3DForSMSSDK/Assets/Plugins/Android/ShortMessageSDKGUI/res/values/smssdk_ids.xml
  39. +8 −0 Unity3DForSMSSDK/Assets/Plugins/Android/ShortMessageSDKGUI/res/values/smssdk_ids.xml.meta
  40. +2 −2 Unity3DForSMSSDK/Assets/Plugins/SMSSDK/Android/AndroidGUIImpl.cs
  41. +8 −8 Unity3DForSMSSDK/Assets/Plugins/SMSSDK/Android/AndroidImpl.cs
  42. +3 −2 Unity3DForSMSSDK/Assets/Plugins/SMSSDK/SMSSDK.cs
  43. BIN Unity3DForSMSSDK/Library/CurrentLayout.dwlt
  44. BIN Unity3DForSMSSDK/Library/InspectorExpandedItems.asset
  45. +4 −1 Unity3DForSMSSDK/Library/LastSceneManagerSetup.txt
  46. BIN Unity3DForSMSSDK/Library/ProjectSettings.asset
  47. BIN Unity3DForSMSSDK/Library/ScriptAssemblies/Assembly-CSharp-firstpass.dll
  48. BIN Unity3DForSMSSDK/Library/ScriptAssemblies/Assembly-CSharp-firstpass.dll.mdb
  49. BIN Unity3DForSMSSDK/Library/ScriptAssemblies/Assembly-CSharp.dll
  50. BIN Unity3DForSMSSDK/Library/ScriptAssemblies/Assembly-CSharp.dll.mdb
  51. BIN Unity3DForSMSSDK/Library/assetDatabase3
  52. BIN Unity3DForSMSSDK/Library/expandedItems
  53. BIN Unity3DForSMSSDK/ProjectSettings/EditorBuildSettings.asset
  54. BIN Unity3DForSMSSDK/ProjectSettings/ProjectSettings.asset
  55. +16 −13 Unity3DForSMSSDK/Unity3DForSMSSDK.sln
  56. +4 −10 Unity3DForSMSSDK/Unity3DForSMSSDK.userprefs
  57. BIN Unity3DForSMSSDK/demo.apk
  58. BIN Unity3DForSMSSDK/obj/Debug/Assembly-CSharp-firstpass.dll
  59. BIN Unity3DForSMSSDK/obj/Debug/Assembly-CSharp.dll
@@ -1,8 +1,7 @@
*.iml
.gradle
/local.properties
/.idea/workspace.xml
/.idea/libraries
/.idea
.DS_Store
/build
/captures
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -4,6 +4,7 @@
import android.os.Looper;
import android.text.TextUtils;
import com.mob.MobSDK;
import com.unity3d.player.UnityPlayer;
import java.util.HashMap;
@@ -42,7 +43,10 @@ public void init(String appKey, String appSecret, boolean isWarn) {
Looper.prepare();
if (TextUtils.isEmpty(appKey) || TextUtils.isEmpty(appSecret))
return;
SMSSDK.initSDK(context,appKey,appSecret,isWarn);
MobSDK.init(context, appKey, appSecret);
if (isWarn) {
SMSSDK.setAskPermisionOnReadContact(isWarn);
}
}
//#if def{lang} == cn
@@ -7,6 +7,7 @@
import android.text.TextUtils;
import android.util.Log;
import com.mob.MobSDK;
import com.mob.tools.utils.Hashon;
import com.mob.tools.utils.UIHandler;
import com.unity3d.player.UnityPlayer;
@@ -180,7 +181,10 @@ public boolean handleMessage(Message msg) {
if (TextUtils.isEmpty(appKey) || TextUtils.isEmpty(appSecret))
break;
SMSSDK.initSDK(context,appKey,appSecret,isWarn);
MobSDK.init(context, appKey, appSecret);
if (isWarn) {
SMSSDK.setAskPermisionOnReadContact(isWarn);
}
EventHandler handler = new EventHandler(){
public void afterEvent(int event, int result, Object data) {
String resp = JavaTools.javaActionResToCS(event, result, data);
@@ -238,7 +242,7 @@ public void afterEvent(int event, int result, Object data) {
break;
case MSG_ENABLE_WARN: {
boolean isWarn = msg.getData().getBoolean("isWarn");
SPHelper.getInstance(context).setWarnWhenReadContact(isWarn);
SPHelper.getInstance().setWarnWhenReadContact(isWarn);
}
break;
}
@@ -19,7 +19,7 @@
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>Temp\bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE;UNITY_5_3_OR_NEWER;UNITY_5_4_OR_NEWER;UNITY_5_4_0;UNITY_5_4;UNITY_5;ENABLE_NEW_BUGREPORTER;ENABLE_AUDIO;ENABLE_CACHING;ENABLE_CLOTH;ENABLE_EDITOR_RETINA;ENABLE_RETINA_GUISTYLES;ENABLE_FRAME_DEBUGGER;ENABLE_GENERICS;ENABLE_HOME_SCREEN;ENABLE_IMAGEEFFECTS;ENABLE_LIGHT_PROBES_LEGACY;ENABLE_MICROPHONE;ENABLE_MULTIPLE_DISPLAYS;ENABLE_PHYSICS;ENABLE_PLUGIN_INSPECTOR;ENABLE_SHADOWS;ENABLE_SPRITERENDERER_FLIPPING;ENABLE_SPRITES;ENABLE_SPRITE_POLYGON;ENABLE_TERRAIN;ENABLE_RAKNET;ENABLE_UNET;ENABLE_UNITYEVENTS;ENABLE_VR;ENABLE_WEBCAM;ENABLE_WWW;ENABLE_CLOUD_SERVICES;ENABLE_CLOUD_SERVICES_COLLAB;ENABLE_CLOUD_SERVICES_ADS;ENABLE_CLOUD_HUB;ENABLE_CLOUD_PROJECT_ID;ENABLE_CLOUD_SERVICES_CRASH_REPORTING;ENABLE_CLOUD_SERVICES_PURCHASING;ENABLE_CLOUD_SERVICES_ANALYTICS;ENABLE_CLOUD_SERVICES_UNET;ENABLE_CLOUD_SERVICES_BUILD;ENABLE_CLOUD_LICENSE;ENABLE_EDITOR_METRICS;ENABLE_EDITOR_METRICS_CACHING;INCLUDE_DYNAMIC_GI;INCLUDE_GI;INCLUDE_IL2CPP;INCLUDE_DIRECTX12;PLATFORM_SUPPORTS_MONO;INCLUDE_PUBNUB;ENABLE_LOCALIZATION;ENABLE_ANDROID_ATLAS_ETC1_COMPRESSION;ENABLE_EDITOR_TESTS_RUNNER;ENABLE_RUNTIME_GI;ENABLE_SUBSTANCE;ENABLE_GAMECENTER;ENABLE_NETWORK;ENABLE_UNITYWEBREQUEST;ENABLE_TEXTUREID_MAP;PLAYERCONNECTION_LISTENS_FIXED_PORT;DEBUGGER_LISTENS_FIXED_PORT;PLATFORM_SUPPORTS_ADS_ID;SUPPORT_ENVIRONMENT_VARIABLES;PLATFORM_SUPPORTS_PROFILER;PLATFORM_HAS_NO_SUPPORT_FOR_BUCKET_ALLOCATOR;STRICTCPP_NEW_DELETE_SIGNATURES;HAS_NEON_SKINNIG;UNITY_INPUT_SIMULATE_EVENTS;PLATFORM_ALWAYS_USES_STDOUT_FOR_LOG;ENABLE_UNITYADS_RUNTIME;UNITY_UNITYADS_API;UNITY_IOS;UNITY_IPHONE;UNITY_IPHONE_API;SUPPORT_MULTIPLE_DISPLAYS;ENABLE_IL2CPP;DEVELOPMENT_BUILD;ENABLE_PROFILER;UNITY_ASSERTIONS;UNITY_EDITOR;UNITY_EDITOR_64;UNITY_EDITOR_OSX;UNITY_TEAM_LICENSE;ENABLE_IOS_ON_DEMAND_RESOURCES;ENABLE_IOS_APP_SLICING</DefineConstants>
<DefineConstants>DEBUG;TRACE;UNITY_5_3_OR_NEWER;UNITY_5_4_OR_NEWER;UNITY_5_5_OR_NEWER;UNITY_5_5_0;UNITY_5_5;UNITY_5;ENABLE_AUDIO;ENABLE_CACHING;ENABLE_CLOTH;ENABLE_GENERICS;ENABLE_MICROPHONE;ENABLE_MULTIPLE_DISPLAYS;ENABLE_PHYSICS;ENABLE_SPRITERENDERER_FLIPPING;ENABLE_SPRITES;ENABLE_TERRAIN;ENABLE_RAKNET;ENABLE_UNET;ENABLE_LZMA;ENABLE_UNITYEVENTS;ENABLE_WEBCAM;ENABLE_WWW;ENABLE_CLOUD_SERVICES_COLLAB;ENABLE_CLOUD_SERVICES_ADS;ENABLE_CLOUD_HUB;ENABLE_CLOUD_PROJECT_ID;ENABLE_CLOUD_SERVICES_UNET;ENABLE_CLOUD_SERVICES_BUILD;ENABLE_CLOUD_LICENSE;ENABLE_EDITOR_METRICS;ENABLE_EDITOR_METRICS_CACHING;INCLUDE_DYNAMIC_GI;INCLUDE_GI;PLATFORM_SUPPORTS_MONO;INCLUDE_PUBNUB;ENABLE_PLAYMODE_TESTS_RUNNER;ENABLE_SCRIPTING_NEW_CSHARP_COMPILER;UNITY_ANDROID;ENABLE_SUBSTANCE;UNITY_ANDROID_API;ENABLE_EGL;ENABLE_NETWORK;ENABLE_RUNTIME_GI;ENABLE_CRUNCH_TEXTURE_COMPRESSION;ENABLE_UNITYWEBREQUEST;ENABLE_CLOUD_SERVICES;ENABLE_CLOUD_SERVICES_ANALYTICS;ENABLE_CLOUD_SERVICES_PURCHASING;ENABLE_CLOUD_SERVICES_CRASH_REPORTING;PLATFORM_SUPPORTS_ADS_ID;UNITY_CAN_SHOW_SPLASH_SCREEN;ENABLE_VIDEO;ENABLE_VR;ENABLE_UNITYADS_RUNTIME;UNITY_UNITYADS_API;ENABLE_MONO;DEVELOPMENT_BUILD;ENABLE_PROFILER;UNITY_ASSERTIONS;UNITY_EDITOR;UNITY_EDITOR_64;UNITY_EDITOR_WIN;UNITY_TEAM_LICENSE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<NoWarn>0169</NoWarn>
@@ -36,12 +36,13 @@
<Reference Include="System" />
<Reference Include="System.XML" />
<Reference Include="System.Core" />
<Reference Include="System.Runtime.Serialization" />
<Reference Include="System.Xml.Linq" />
<Reference Include="UnityEngine">
<HintPath>/Applications/Unity/Unity.app/Contents/Managed/UnityEngine.dll</HintPath>
<HintPath>D:/dev_tools/Unity/Unity5.5.0f3/Editor/Data/Managed/UnityEngine.dll</HintPath>
</Reference>
<Reference Include="UnityEditor">
<HintPath>/Applications/Unity/Unity.app/Contents/Managed/UnityEditor.dll</HintPath>
<HintPath>D:/dev_tools/Unity/Unity5.5.0f3/Editor/Data/Managed/UnityEditor.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
@@ -61,27 +62,41 @@
<None Include="Assets\Plugins\Android\ShortMessageSDKGUI\res\drawable\smssdk_country_group_scroll_up.xml" />
<None Include="Assets\Plugins\Android\ShortMessageSDKGUI\res\drawable\smssdk_country_bg_selector.xml" />
<None Include="Assets\Plugins\Android\ShortMessageSDKGUI\res\drawable\smssdk_corners_bg.xml" />
<None Include="Assets\Plugins\Android\SMSSDK\res\values\smssdk_errors.xml" />
<None Include="Assets\Plugins\Android\ShortMessageSDKGUI\res\values-en\smssdk_strings.xml" />
<None Include="Assets\Plugins\Android\ShortMessageSDKGUI\res\drawable\smssdk_dialog_btn_back.xml" />
<None Include="Assets\Plugins\Android\SMSSDK\proguard-project.txt" />
<None Include="Assets\Plugins\Android\SMSSDK\res\values\smssdk_styles.xml" />
<None Include="Assets\Plugins\Android\ShortMessageSDKGUI\proguard-project.txt" />
<None Include="Assets\Plugins\Android\SMSSDK\res\values-en\smssdk_arrays.xml" />
<None Include="Assets\Plugins\Android\ShortMessageSDKGUI\res\drawable\smssdk_btn_enable.xml" />
<None Include="Assets\Plugins\Android\ShortMessageSDKGUI\res\values\smssdk_styles.xml" />
<None Include="Assets\Plugins\Android\ShortMessageSDKGUI\res\drawable\smssdk_btn_disenable.xml" />
<None Include="Assets\Plugins\Android\SMSSDK\AndroidManifest.xml" />
<None Include="Assets\Plugins\Android\SMSSDK\res\values-en\smssdk_errors.xml" />
<None Include="Assets\Plugins\Android\ShortMessageSDKGUI\res\values\smssdk_colors.xml" />
<None Include="Assets\Plugins\Android\ShortMessageSDKGUI\res\drawable\smssdk_corners_bg_pre.xml" />
<None Include="Assets\Plugins\Android\SMSSDK\res\values-en\smssdk_errors.xml" />
<None Include="Assets\Plugins\Android\ShortMessageSDKGUI\res\values\smssdk_strings.xml" />
<None Include="Assets\Plugins\Android\SMSSDK\res\values\smssdk_errors.xml" />
<None Include="Assets\Plugins\Android\ShortMessageSDKGUI\res\values\smssdk_ids.xml" />
<None Include="Assets\Plugins\Android\ShortMessageSDKGUI\res\drawable\smssdk_edittext_bg_selector.xml" />
<None Include="Assets\Plugins\Android\ShortMessageSDKGUI\AndroidManifest.xml" />
<Reference Include="UnityEngine.UI">
<HintPath>/Applications/Unity/Unity.app/Contents/UnityExtensions/Unity/GUISystem/UnityEngine.UI.dll</HintPath>
<HintPath>D:/dev_tools/Unity/Unity5.5.0f3/Editor/Data/UnityExtensions/Unity/GUISystem/UnityEngine.UI.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.Networking">
<HintPath>/Applications/Unity/Unity.app/Contents/UnityExtensions/Unity/Networking/UnityEngine.Networking.dll</HintPath>
<HintPath>D:/dev_tools/Unity/Unity5.5.0f3/Editor/Data/UnityExtensions/Unity/Networking/UnityEngine.Networking.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.PlaymodeTestsRunner">
<HintPath>D:/dev_tools/Unity/Unity5.5.0f3/Editor/Data/UnityExtensions/Unity/PlaymodeTestsRunner/UnityEngine.PlaymodeTestsRunner.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.Analytics">
<HintPath>D:/dev_tools/Unity/Unity5.5.0f3/Editor/Data/UnityExtensions/Unity/UnityAnalytics/UnityEngine.Analytics.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.HoloLens">
<HintPath>D:/dev_tools/Unity/Unity5.5.0f3/Editor/Data/UnityExtensions/Unity/UnityHoloLens/RuntimeEditor/UnityEngine.HoloLens.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.VR">
<HintPath>D:/dev_tools/Unity/Unity5.5.0f3/Editor/Data/UnityExtensions/Unity/UnityVR/RuntimeEditor/UnityEngine.VR.dll</HintPath>
</Reference>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
@@ -19,7 +19,7 @@
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>Temp\bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE;UNITY_5_3_OR_NEWER;UNITY_5_4_OR_NEWER;UNITY_5_4_0;UNITY_5_4;UNITY_5;ENABLE_NEW_BUGREPORTER;ENABLE_AUDIO;ENABLE_CACHING;ENABLE_CLOTH;ENABLE_EDITOR_RETINA;ENABLE_RETINA_GUISTYLES;ENABLE_FRAME_DEBUGGER;ENABLE_GENERICS;ENABLE_HOME_SCREEN;ENABLE_IMAGEEFFECTS;ENABLE_LIGHT_PROBES_LEGACY;ENABLE_MICROPHONE;ENABLE_MULTIPLE_DISPLAYS;ENABLE_PHYSICS;ENABLE_PLUGIN_INSPECTOR;ENABLE_SHADOWS;ENABLE_SPRITERENDERER_FLIPPING;ENABLE_SPRITES;ENABLE_SPRITE_POLYGON;ENABLE_TERRAIN;ENABLE_RAKNET;ENABLE_UNET;ENABLE_UNITYEVENTS;ENABLE_VR;ENABLE_WEBCAM;ENABLE_WWW;ENABLE_CLOUD_SERVICES;ENABLE_CLOUD_SERVICES_COLLAB;ENABLE_CLOUD_SERVICES_ADS;ENABLE_CLOUD_HUB;ENABLE_CLOUD_PROJECT_ID;ENABLE_CLOUD_SERVICES_CRASH_REPORTING;ENABLE_CLOUD_SERVICES_PURCHASING;ENABLE_CLOUD_SERVICES_ANALYTICS;ENABLE_CLOUD_SERVICES_UNET;ENABLE_CLOUD_SERVICES_BUILD;ENABLE_CLOUD_LICENSE;ENABLE_EDITOR_METRICS;ENABLE_EDITOR_METRICS_CACHING;INCLUDE_DYNAMIC_GI;INCLUDE_GI;INCLUDE_IL2CPP;INCLUDE_DIRECTX12;PLATFORM_SUPPORTS_MONO;INCLUDE_PUBNUB;ENABLE_LOCALIZATION;ENABLE_ANDROID_ATLAS_ETC1_COMPRESSION;ENABLE_EDITOR_TESTS_RUNNER;ENABLE_RUNTIME_GI;ENABLE_SUBSTANCE;ENABLE_GAMECENTER;ENABLE_NETWORK;ENABLE_UNITYWEBREQUEST;ENABLE_TEXTUREID_MAP;PLAYERCONNECTION_LISTENS_FIXED_PORT;DEBUGGER_LISTENS_FIXED_PORT;PLATFORM_SUPPORTS_ADS_ID;SUPPORT_ENVIRONMENT_VARIABLES;PLATFORM_SUPPORTS_PROFILER;PLATFORM_HAS_NO_SUPPORT_FOR_BUCKET_ALLOCATOR;STRICTCPP_NEW_DELETE_SIGNATURES;HAS_NEON_SKINNIG;UNITY_INPUT_SIMULATE_EVENTS;PLATFORM_ALWAYS_USES_STDOUT_FOR_LOG;ENABLE_UNITYADS_RUNTIME;UNITY_UNITYADS_API;UNITY_IOS;UNITY_IPHONE;UNITY_IPHONE_API;SUPPORT_MULTIPLE_DISPLAYS;ENABLE_IL2CPP;DEVELOPMENT_BUILD;ENABLE_PROFILER;UNITY_ASSERTIONS;UNITY_EDITOR;UNITY_EDITOR_64;UNITY_EDITOR_OSX;UNITY_TEAM_LICENSE;ENABLE_IOS_ON_DEMAND_RESOURCES;ENABLE_IOS_APP_SLICING</DefineConstants>
<DefineConstants>DEBUG;TRACE;UNITY_5_3_OR_NEWER;UNITY_5_4_OR_NEWER;UNITY_5_5_OR_NEWER;UNITY_5_5_0;UNITY_5_5;UNITY_5;ENABLE_AUDIO;ENABLE_CACHING;ENABLE_CLOTH;ENABLE_GENERICS;ENABLE_MICROPHONE;ENABLE_MULTIPLE_DISPLAYS;ENABLE_PHYSICS;ENABLE_SPRITERENDERER_FLIPPING;ENABLE_SPRITES;ENABLE_TERRAIN;ENABLE_RAKNET;ENABLE_UNET;ENABLE_LZMA;ENABLE_UNITYEVENTS;ENABLE_WEBCAM;ENABLE_WWW;ENABLE_CLOUD_SERVICES_COLLAB;ENABLE_CLOUD_SERVICES_ADS;ENABLE_CLOUD_HUB;ENABLE_CLOUD_PROJECT_ID;ENABLE_CLOUD_SERVICES_UNET;ENABLE_CLOUD_SERVICES_BUILD;ENABLE_CLOUD_LICENSE;ENABLE_EDITOR_METRICS;ENABLE_EDITOR_METRICS_CACHING;INCLUDE_DYNAMIC_GI;INCLUDE_GI;PLATFORM_SUPPORTS_MONO;INCLUDE_PUBNUB;ENABLE_PLAYMODE_TESTS_RUNNER;ENABLE_SCRIPTING_NEW_CSHARP_COMPILER;UNITY_ANDROID;ENABLE_SUBSTANCE;UNITY_ANDROID_API;ENABLE_EGL;ENABLE_NETWORK;ENABLE_RUNTIME_GI;ENABLE_CRUNCH_TEXTURE_COMPRESSION;ENABLE_UNITYWEBREQUEST;ENABLE_CLOUD_SERVICES;ENABLE_CLOUD_SERVICES_ANALYTICS;ENABLE_CLOUD_SERVICES_PURCHASING;ENABLE_CLOUD_SERVICES_CRASH_REPORTING;PLATFORM_SUPPORTS_ADS_ID;UNITY_CAN_SHOW_SPLASH_SCREEN;ENABLE_VIDEO;ENABLE_VR;ENABLE_UNITYADS_RUNTIME;UNITY_UNITYADS_API;ENABLE_MONO;DEVELOPMENT_BUILD;ENABLE_PROFILER;UNITY_ASSERTIONS;UNITY_EDITOR;UNITY_EDITOR_64;UNITY_EDITOR_WIN;UNITY_TEAM_LICENSE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<NoWarn>0169</NoWarn>
@@ -36,12 +36,13 @@
<Reference Include="System" />
<Reference Include="System.XML" />
<Reference Include="System.Core" />
<Reference Include="System.Runtime.Serialization" />
<Reference Include="System.Xml.Linq" />
<Reference Include="UnityEngine">
<HintPath>/Applications/Unity/Unity.app/Contents/Managed/UnityEngine.dll</HintPath>
<HintPath>D:/dev_tools/Unity/Unity5.5.0f3/Editor/Data/Managed/UnityEngine.dll</HintPath>
</Reference>
<Reference Include="UnityEditor">
<HintPath>/Applications/Unity/Unity.app/Contents/Managed/UnityEditor.dll</HintPath>
<HintPath>D:/dev_tools/Unity/Unity5.5.0f3/Editor/Data/Managed/UnityEditor.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
@@ -52,32 +53,46 @@
<None Include="Assets\Plugins\Android\ShortMessageSDKGUI\res\drawable\smssdk_country_group_scroll_up.xml" />
<None Include="Assets\Plugins\Android\ShortMessageSDKGUI\res\drawable\smssdk_country_bg_selector.xml" />
<None Include="Assets\Plugins\Android\ShortMessageSDKGUI\res\drawable\smssdk_corners_bg.xml" />
<None Include="Assets\Plugins\Android\SMSSDK\res\values\smssdk_errors.xml" />
<None Include="Assets\Plugins\Android\ShortMessageSDKGUI\res\values-en\smssdk_strings.xml" />
<None Include="Assets\Plugins\Android\ShortMessageSDKGUI\res\drawable\smssdk_dialog_btn_back.xml" />
<None Include="Assets\Plugins\Android\SMSSDK\proguard-project.txt" />
<None Include="Assets\Plugins\Android\SMSSDK\res\values\smssdk_styles.xml" />
<None Include="Assets\Plugins\Android\ShortMessageSDKGUI\proguard-project.txt" />
<None Include="Assets\Plugins\Android\SMSSDK\res\values-en\smssdk_arrays.xml" />
<None Include="Assets\Plugins\Android\ShortMessageSDKGUI\res\drawable\smssdk_btn_enable.xml" />
<None Include="Assets\Plugins\Android\ShortMessageSDKGUI\res\values\smssdk_styles.xml" />
<None Include="Assets\Plugins\Android\ShortMessageSDKGUI\res\drawable\smssdk_btn_disenable.xml" />
<None Include="Assets\Plugins\Android\SMSSDK\AndroidManifest.xml" />
<None Include="Assets\Plugins\Android\SMSSDK\res\values-en\smssdk_errors.xml" />
<None Include="Assets\Plugins\Android\ShortMessageSDKGUI\res\values\smssdk_colors.xml" />
<None Include="Assets\Plugins\Android\ShortMessageSDKGUI\res\drawable\smssdk_corners_bg_pre.xml" />
<None Include="Assets\Plugins\Android\SMSSDK\res\values-en\smssdk_errors.xml" />
<None Include="Assets\Plugins\Android\ShortMessageSDKGUI\res\values\smssdk_strings.xml" />
<None Include="Assets\Plugins\Android\SMSSDK\res\values\smssdk_errors.xml" />
<None Include="Assets\Plugins\Android\ShortMessageSDKGUI\res\values\smssdk_ids.xml" />
<None Include="Assets\Plugins\Android\ShortMessageSDKGUI\res\drawable\smssdk_edittext_bg_selector.xml" />
<None Include="Assets\Plugins\Android\ShortMessageSDKGUI\AndroidManifest.xml" />
<Reference Include="UnityEngine.UI">
<HintPath>/Applications/Unity/Unity.app/Contents/UnityExtensions/Unity/GUISystem/UnityEngine.UI.dll</HintPath>
<HintPath>D:/dev_tools/Unity/Unity5.5.0f3/Editor/Data/UnityExtensions/Unity/GUISystem/UnityEngine.UI.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.Networking">
<HintPath>/Applications/Unity/Unity.app/Contents/UnityExtensions/Unity/Networking/UnityEngine.Networking.dll</HintPath>
<HintPath>D:/dev_tools/Unity/Unity5.5.0f3/Editor/Data/UnityExtensions/Unity/Networking/UnityEngine.Networking.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.PlaymodeTestsRunner">
<HintPath>D:/dev_tools/Unity/Unity5.5.0f3/Editor/Data/UnityExtensions/Unity/PlaymodeTestsRunner/UnityEngine.PlaymodeTestsRunner.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
<Reference Include="UnityEngine.Analytics">
<HintPath>D:/dev_tools/Unity/Unity5.5.0f3/Editor/Data/UnityExtensions/Unity/UnityAnalytics/UnityEngine.Analytics.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.HoloLens">
<HintPath>D:/dev_tools/Unity/Unity5.5.0f3/Editor/Data/UnityExtensions/Unity/UnityHoloLens/RuntimeEditor/UnityEngine.HoloLens.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.VR">
<HintPath>D:/dev_tools/Unity/Unity5.5.0f3/Editor/Data/UnityExtensions/Unity/UnityVR/RuntimeEditor/UnityEngine.VR.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="Assembly-CSharp-firstpass.csproj">
<Project>{B49C4258-116C-B235-1DCD-242D7B8FD793}</Project> <Name>Assembly-CSharp-firstpass</Name> </ProjectReference>
<Project>{B49C4258-116C-B235-1DCD-242D7B8FD793}</Project> <Name>Assembly-CSharp-firstpass</Name> </ProjectReference>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
@@ -21,8 +21,9 @@ public class Demo : MonoBehaviour,SMSSDKHandler {
void Start ()
{
Debug.Log("[SMSSDK]Demo ===>>> Start" );
smssdk = gameObject.GetComponent<SMSSDK>();
smssdk.init("114d7a34cf7ea","678ff550d7328de446585757c4e5de3f",false);
smssdk.init("moba6b6c6d6","b89d2427a3bc7ad1aea1e1e8c1d36bf3",true);
userInfo = new UserInfo ();
smssdk.setHandler(this);
}
Binary file not shown.
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="cn.smssdk"
android:versionCode="24"
android:versionName="2.1.1" >
android:versionCode="28"
android:versionName="3.0.0" >
<!--PROTECTION_NORMAL -->
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
Oops, something went wrong.

0 comments on commit bfb7132

Please sign in to comment.