update dropbox sdk and gson jars, upgrade to TargetFramework Android 9
This commit is contained in:
Binary file not shown.
BIN
src/JavaFileStorageBindings/Jars/dropbox-core-sdk-3.1.1.jar
Normal file
BIN
src/JavaFileStorageBindings/Jars/dropbox-core-sdk-3.1.1.jar
Normal file
Binary file not shown.
Binary file not shown.
BIN
src/JavaFileStorageBindings/Jars/gson-2.8.1.jar
Normal file
BIN
src/JavaFileStorageBindings/Jars/gson-2.8.1.jar
Normal file
Binary file not shown.
@@ -12,6 +12,7 @@
|
|||||||
<FileAlignment>512</FileAlignment>
|
<FileAlignment>512</FileAlignment>
|
||||||
<AndroidUseLatestPlatformSdk>false</AndroidUseLatestPlatformSdk>
|
<AndroidUseLatestPlatformSdk>false</AndroidUseLatestPlatformSdk>
|
||||||
<TargetFrameworkVersion>v8.0</TargetFrameworkVersion>
|
<TargetFrameworkVersion>v8.0</TargetFrameworkVersion>
|
||||||
|
<AndroidClassParser>class-parse</AndroidClassParser>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||||
<DebugSymbols>true</DebugSymbols>
|
<DebugSymbols>true</DebugSymbols>
|
||||||
@@ -86,9 +87,6 @@
|
|||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<EmbeddedReferenceJar Include="Jars\okhttp-digest-1.7.jar" />
|
<EmbeddedReferenceJar Include="Jars\okhttp-digest-1.7.jar" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
|
||||||
<EmbeddedReferenceJar Include="Jars\gson-2.3.1.jar" />
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<EmbeddedReferenceJar Include="Jars\msa-auth-0.8.6\classes-msa-auth.jar" />
|
<EmbeddedReferenceJar Include="Jars\msa-auth-0.8.6\classes-msa-auth.jar" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
@@ -143,13 +141,16 @@
|
|||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<EmbeddedReferenceJar Include="Jars\jackson-core-2.7.4.jar" />
|
<EmbeddedReferenceJar Include="Jars\jackson-core-2.7.4.jar" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
|
||||||
<EmbeddedJar Include="Jars\dropbox-core-sdk-3.0.3.jar" />
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<EmbeddedReferenceJar Include="Jars\okhttp-3.9.0.jar" />
|
<EmbeddedReferenceJar Include="Jars\okhttp-3.9.0.jar" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<EmbeddedReferenceJar Include="Jars\okio-1.13.0.jar" />
|
<EmbeddedReferenceJar Include="Jars\okio-1.13.0.jar" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<EmbeddedJar Include="Jars\dropbox-core-sdk-3.1.1.jar" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<EmbeddedReferenceJar Include="Jars\gson-2.8.1.jar" />
|
||||||
|
</ItemGroup>
|
||||||
</Project>
|
</Project>
|
@@ -21,6 +21,10 @@ android {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
NOTE: If you change dependencies here, don't forget to update the jar files in JavaFileStorageBindings as well!
|
||||||
|
*/
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile 'com.squareup.okhttp3:okhttp:3.9.0'
|
compile 'com.squareup.okhttp3:okhttp:3.9.0'
|
||||||
compile 'com.burgstaller:okhttp-digest:1.7'
|
compile 'com.burgstaller:okhttp-digest:1.7'
|
||||||
|
@@ -50,7 +50,7 @@ public class OneDriveStorage2 extends JavaFileStorageBase
|
|||||||
private static final String[] scopes = {"openid","offline_access", "https://graph.microsoft.com/Files.ReadWrite","https://graph.microsoft.com/User.Read"};
|
private static final String[] scopes = {"openid","offline_access", "https://graph.microsoft.com/Files.ReadWrite","https://graph.microsoft.com/User.Read"};
|
||||||
|
|
||||||
|
|
||||||
public OneDriveStorage2(final Activity context, final String clientId) {
|
public OneDriveStorage2(final Context context, final String clientId) {
|
||||||
|
|
||||||
mPublicClientApp = new PublicClientApplication(context, clientId);
|
mPublicClientApp = new PublicClientApplication(context, clientId);
|
||||||
|
|
||||||
|
Binary file not shown.
@@ -9,6 +9,10 @@
|
|||||||
android:networkSecurityConfig="@xml/network_security_config"
|
android:networkSecurityConfig="@xml/network_security_config"
|
||||||
>
|
>
|
||||||
|
|
||||||
|
<uses-library
|
||||||
|
android:name="org.apache.http.legacy"
|
||||||
|
android:required="false"/>
|
||||||
|
|
||||||
<activity android:name="com.dropbox.core.android.AuthActivity" android:launchMode="singleTask" android:configChanges="orientation|keyboard">
|
<activity android:name="com.dropbox.core.android.AuthActivity" android:launchMode="singleTask" android:configChanges="orientation|keyboard">
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
<data android:scheme="db-2gormiq7iq1jls1" />
|
<data android:scheme="db-2gormiq7iq1jls1" />
|
||||||
|
@@ -14,6 +14,11 @@
|
|||||||
android:networkSecurityConfig="@xml/network_security_config"
|
android:networkSecurityConfig="@xml/network_security_config"
|
||||||
|
|
||||||
>
|
>
|
||||||
|
|
||||||
|
<uses-library
|
||||||
|
android:name="org.apache.http.legacy"
|
||||||
|
android:required="false"/>
|
||||||
|
|
||||||
<activity android:name="com.dropbox.core.android.AuthActivity" android:launchMode="singleTask" android:configChanges="orientation|keyboard">
|
<activity android:name="com.dropbox.core.android.AuthActivity" android:launchMode="singleTask" android:configChanges="orientation|keyboard">
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
<data android:scheme="db-i8shu7v1hgh7ynt" />
|
<data android:scheme="db-i8shu7v1hgh7ynt" />
|
||||||
|
@@ -12,6 +12,10 @@
|
|||||||
android:icon="@mipmap/ic_launcher_offline"
|
android:icon="@mipmap/ic_launcher_offline"
|
||||||
android:networkSecurityConfig="@xml/network_security_config"
|
android:networkSecurityConfig="@xml/network_security_config"
|
||||||
>
|
>
|
||||||
|
<uses-library
|
||||||
|
android:name="org.apache.http.legacy"
|
||||||
|
android:required="false"/>
|
||||||
|
|
||||||
<provider android:name="group.pals.android.lib.ui.filechooser.providers.localfile.LocalFileProvider" android:authorities="keepass2android.keepass2android_nonet.android-filechooser.localfile" android:exported="false" />
|
<provider android:name="group.pals.android.lib.ui.filechooser.providers.localfile.LocalFileProvider" android:authorities="keepass2android.keepass2android_nonet.android-filechooser.localfile" android:exported="false" />
|
||||||
<provider android:name="group.pals.android.lib.ui.filechooser.providers.history.HistoryProvider" android:authorities="keepass2android.keepass2android_nonet.android-filechooser.history" android:exported="false" />
|
<provider android:name="group.pals.android.lib.ui.filechooser.providers.history.HistoryProvider" android:authorities="keepass2android.keepass2android_nonet.android-filechooser.history" android:exported="false" />
|
||||||
<activity android:name="group.pals.android.lib.ui.filechooser.FileChooserActivity" android:configChanges="keyboard|keyboardHidden|orientation|screenSize" android:screenOrientation="user" android:theme="@style/Afc.Theme.Light">
|
<activity android:name="group.pals.android.lib.ui.filechooser.FileChooserActivity" android:configChanges="keyboard|keyboardHidden|orientation|screenSize" android:screenOrientation="user" android:theme="@style/Afc.Theme.Light">
|
||||||
|
@@ -688,12 +688,12 @@ namespace keepass2android
|
|||||||
new DropboxAppFolderFileStorage(Application.Context, this),
|
new DropboxAppFolderFileStorage(Application.Context, this),
|
||||||
new GoogleDriveFileStorage(Application.Context, this),
|
new GoogleDriveFileStorage(Application.Context, this),
|
||||||
new OneDriveFileStorage(Application.Context, this),
|
new OneDriveFileStorage(Application.Context, this),
|
||||||
new SftpFileStorage(Application.Context, this),
|
new SftpFileStorage(Application.Context, this),
|
||||||
new NetFtpFileStorage(Application.Context, this),
|
new NetFtpFileStorage(Application.Context, this),
|
||||||
new WebDavFileStorage(this),
|
new WebDavFileStorage(this),
|
||||||
new PCloudFileStorage(Application.Context, this),
|
new PCloudFileStorage(Application.Context, this),
|
||||||
//new LegacyWebDavStorage(this),
|
//new LegacyWebDavStorage(this),
|
||||||
//new LegacyFtpStorage(this),
|
//new LegacyFtpStorage(this),
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
new LocalFileStorage(this)
|
new LocalFileStorage(this)
|
||||||
|
@@ -16,7 +16,7 @@
|
|||||||
<AssemblyName>keepass2android</AssemblyName>
|
<AssemblyName>keepass2android</AssemblyName>
|
||||||
<newfilesearch>OnLoad</newfilesearch>
|
<newfilesearch>OnLoad</newfilesearch>
|
||||||
<AndroidManifest>Properties\AndroidManifest.xml</AndroidManifest>
|
<AndroidManifest>Properties\AndroidManifest.xml</AndroidManifest>
|
||||||
<TargetFrameworkVersion>v8.0</TargetFrameworkVersion>
|
<TargetFrameworkVersion>v9.0</TargetFrameworkVersion>
|
||||||
<MandroidI18n />
|
<MandroidI18n />
|
||||||
<JavaMaximumHeapSize>1G</JavaMaximumHeapSize>
|
<JavaMaximumHeapSize>1G</JavaMaximumHeapSize>
|
||||||
<AndroidUseLatestPlatformSdk>false</AndroidUseLatestPlatformSdk>
|
<AndroidUseLatestPlatformSdk>false</AndroidUseLatestPlatformSdk>
|
||||||
@@ -44,11 +44,12 @@
|
|||||||
<AndroidUseSharedRuntime>false</AndroidUseSharedRuntime>
|
<AndroidUseSharedRuntime>false</AndroidUseSharedRuntime>
|
||||||
<AndroidLinkMode>SdkOnly</AndroidLinkMode>
|
<AndroidLinkMode>SdkOnly</AndroidLinkMode>
|
||||||
<BundleAssemblies>false</BundleAssemblies>
|
<BundleAssemblies>false</BundleAssemblies>
|
||||||
<AndroidCreatePackagePerAbi>False</AndroidCreatePackagePerAbi>
|
<AndroidCreatePackagePerAbi>false</AndroidCreatePackagePerAbi>
|
||||||
<AndroidEnableMultiDex>false</AndroidEnableMultiDex>
|
<AndroidEnableMultiDex>true</AndroidEnableMultiDex>
|
||||||
<EnableProguard>true</EnableProguard>
|
<EnableProguard>true</EnableProguard>
|
||||||
<AotAssemblies>false</AotAssemblies>
|
<AotAssemblies>false</AotAssemblies>
|
||||||
<EnableLLVM>false</EnableLLVM>
|
<EnableLLVM>false</EnableLLVM>
|
||||||
|
<JavaMaximumHeapSize>2G</JavaMaximumHeapSize>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||||
<DebugType>full</DebugType>
|
<DebugType>full</DebugType>
|
||||||
@@ -1926,6 +1927,12 @@
|
|||||||
<AndroidNativeLibrary Include="..\java\argon2\libs\x86\libargon2.so" />
|
<AndroidNativeLibrary Include="..\java\argon2\libs\x86\libargon2.so" />
|
||||||
<AndroidNativeLibrary Include="..\java\argon2\libs\x86_64\libargon2.so" />
|
<AndroidNativeLibrary Include="..\java\argon2\libs\x86_64\libargon2.so" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<AndroidResource Include="Resources\drawable-mdpi\ic_storage_onedrive2.png" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<AndroidResource Include="Resources\drawable-xhdpi\ic_storage_onedrive2.png" />
|
||||||
|
</ItemGroup>
|
||||||
<Import Project="$(MSBuildExtensionsPath)\Xamarin\Android\Xamarin.Android.CSharp.targets" />
|
<Import Project="$(MSBuildExtensionsPath)\Xamarin\Android\Xamarin.Android.CSharp.targets" />
|
||||||
<Import Project="..\packages\Microsoft.Bcl.Build.1.0.14\tools\Microsoft.Bcl.Build.targets" Condition="Exists('..\packages\Microsoft.Bcl.Build.1.0.14\tools\Microsoft.Bcl.Build.targets')" />
|
<Import Project="..\packages\Microsoft.Bcl.Build.1.0.14\tools\Microsoft.Bcl.Build.targets" Condition="Exists('..\packages\Microsoft.Bcl.Build.1.0.14\tools\Microsoft.Bcl.Build.targets')" />
|
||||||
<Target Name="EnsureBclBuildImported" BeforeTargets="BeforeBuild" Condition="'$(BclBuildImported)' == ''">
|
<Target Name="EnsureBclBuildImported" BeforeTargets="BeforeBuild" Condition="'$(BclBuildImported)' == ''">
|
||||||
|
Submodule src/netftpandroid updated: 23df4cf135...099c7b6dd2
Reference in New Issue
Block a user