Skip to content

Commit

Permalink
Added 2.1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
rimdoo committed May 14, 2021
1 parent 80358c9 commit 6a47668
Show file tree
Hide file tree
Showing 7 changed files with 46 additions and 4 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
# Change Log

### v2.1.4 (May 14, 2021) with Core SDK `v3.0.164`
* Fixed problems in API level 30.
* Fixed camera launching issue.
* Fixed video and file viewer launching issue.
* Upgraded Gradle version to `3.5.4`

### v2.1.3 (April 27, 2021) with Core SDK `v3.0.163`
* Targeted Android 11 (API 30).
* Supported Scoped storage.
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ buildscript {

}
dependencies {
classpath 'com.android.tools.build:gradle:3.5.0'
classpath 'com.android.tools.build:gradle:3.5.4'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files

Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ org.gradle.jvmargs=-Xmx1536m
android.useAndroidX=true
android.enablerD8=true

UIKIT_VERSION = 2.1.3
UIKIT_VERSION = 2.1.4
UIKIT_VERSION_CODE = 1

2 changes: 1 addition & 1 deletion uikit/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])

// Sendbird
api 'com.sendbird.sdk:sendbird-android-sdk:3.0.163'
api 'com.sendbird.sdk:sendbird-android-sdk:3.0.164'

implementation 'com.github.bumptech.glide:glide:4.11.0'
annotationProcessor 'com.github.bumptech.glide:compiler:4.11.0'
Expand Down
30 changes: 30 additions & 0 deletions uikit/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,25 @@
<uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES" />
<uses-permission android:name="android.permission.INTERNET" />

<queries>
<!-- Browser -->
<intent>
<action android:name="android.intent.action.VIEW" />
<data android:scheme="http" />
</intent>
<!-- Camera -->
<intent>
<action android:name="android.media.action.IMAGE_CAPTURE" />
</intent>
<!-- Gallery -->
<intent>
<action android:name="android.intent.action.GET_CONTENT" />
</intent>
<intent>
<action android:name="android.intent.action.CHOOSER" />
</intent>
</queries>

<application>
<activity
android:name=".activities.InviteChannelActivity"
Expand Down Expand Up @@ -74,5 +93,16 @@
android:configChanges="orientation|screenSize"
android:windowSoftInputMode="stateUnchanged"
/>

<provider
android:name="androidx.core.content.FileProvider"
android:authorities="${applicationId}.provider"
android:exported="false"
android:grantUriPermissions="true">
<meta-data
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/sb_file_paths" />
</provider>

</application>
</manifest>
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,6 @@ public static Uri createPictureImageUri(@NonNull Context context) {
ContentValues cv = new ContentValues();
String fileName = new SimpleDateFormat("yyyyMMdd_HHmmss", Locale.getDefault()).format(new Date());
cv.put(MediaStore.Images.Media.TITLE, fileName);
cv.put(MediaStore.Downloads.DISPLAY_NAME, fileName);
return contentResolver.insert(MediaStore.Images.Media.EXTERNAL_CONTENT_URI, cv);
}

Expand Down
6 changes: 6 additions & 0 deletions uikit/src/main/res/xml/sb_file_paths.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<paths>
<external-path name="pictures" path="Pictures/" />
<external-path name="storage/emulated" path="."/>
<root-path name="root" path="."/>
</paths>

0 comments on commit 6a47668

Please sign in to comment.