Skip to content

Commit 3e2f5e0

Browse files
author
Igor Khomenko
committed
updated Cordova samples
1 parent 5b65df1 commit 3e2f5e0

File tree

250 files changed

+20821
-1
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

250 files changed

+20821
-1
lines changed

samples/chat-cordova/config.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,6 @@
2222
<platform name="ios">
2323
<allow-intent href="itms:*" />
2424
<allow-intent href="itms-apps:*" />
25+
<preference name="Orientation" value="landscape" />
2526
</platform>
2627
</widget>

samples/chat-cordova/platforms/ios/QB Chat/QB Chat-Info.plist

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,5 +39,19 @@
3939
<key>NSAllowsArbitraryLoads</key>
4040
<true/>
4141
</dict>
42+
<key>UIInterfaceOrientation</key>
43+
<array>
44+
<string>UIInterfaceOrientationLandscapeLeft</string>
45+
</array>
46+
<key>UISupportedInterfaceOrientations</key>
47+
<array>
48+
<string>UIInterfaceOrientationLandscapeLeft</string>
49+
<string>UIInterfaceOrientationLandscapeRight</string>
50+
</array>
51+
<key>UISupportedInterfaceOrientations~ipad</key>
52+
<array>
53+
<string>UIInterfaceOrientationLandscapeLeft</string>
54+
<string>UIInterfaceOrientationLandscapeRight</string>
55+
</array>
4256
</dict>
4357
</plist>

samples/chat-cordova/platforms/ios/QB Chat/config.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,4 +45,5 @@
4545
<preference name="PageLength" value="0" />
4646
<preference name="PaginationBreakingMode" value="page" />
4747
<preference name="PaginationMode" value="unpaginated" />
48+
<preference name="Orientation" value="landscape" />
4849
</widget>
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Non-project-specific build files:
2+
build.xml
3+
local.properties
4+
/gradlew
5+
/gradlew.bat
6+
/gradle
7+
# Ant builds
8+
ant-build
9+
ant-gen
10+
# Eclipse builds
11+
gen
12+
out
13+
# Gradle builds
14+
/build
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
#Fri May 27 12:53:37 EEST 2016
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<?xml version='1.0' encoding='utf-8'?>
2+
<manifest android:hardwareAccelerated="true" android:versionCode="1" android:versionName="0.0.1" package="com.quickblox.cordova.videochat" xmlns:android="http://schemas.android.com/apk/res/android">
3+
<supports-screens android:anyDensity="true" android:largeScreens="true" android:normalScreens="true" android:resizeable="true" android:smallScreens="true" android:xlargeScreens="true" />
4+
<uses-permission android:name="android.permission.INTERNET" />
5+
<application android:hardwareAccelerated="true" android:icon="@drawable/icon" android:label="@string/app_name" android:supportsRtl="true">
6+
<activity android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale" android:label="@string/activity_name" android:launchMode="singleTop" android:name="MainActivity" android:theme="@android:style/Theme.DeviceDefault.NoActionBar" android:windowSoftInputMode="adjustResize">
7+
<intent-filter android:label="@string/launcher_name">
8+
<action android:name="android.intent.action.MAIN" />
9+
<category android:name="android.intent.category.LAUNCHER" />
10+
</intent-filter>
11+
</activity>
12+
</application>
13+
<uses-sdk android:minSdkVersion="14" android:targetSdkVersion="23" />
14+
</manifest>
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<!--
3+
Licensed to the Apache Software Foundation (ASF) under one
4+
or more contributor license agreements. See the NOTICE file
5+
distributed with this work for additional information
6+
regarding copyright ownership. The ASF licenses this file
7+
to you under the Apache License, Version 2.0 (the
8+
"License"); you may not use this file except in compliance
9+
with the License. You may obtain a copy of the License at
10+
11+
http://www.apache.org/licenses/LICENSE-2.0
12+
13+
Unless required by applicable law or agreed to in writing,
14+
software distributed under the License is distributed on an
15+
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
KIND, either express or implied. See the License for the
17+
specific language governing permissions and limitations
18+
under the License.
19+
-->
20+
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
21+
package="org.apache.cordova" android:versionName="1.0" android:versionCode="1">
22+
<uses-sdk android:minSdkVersion="14" />
23+
</manifest>
Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
/* Licensed to the Apache Software Foundation (ASF) under one
2+
or more contributor license agreements. See the NOTICE file
3+
distributed with this work for additional information
4+
regarding copyright ownership. The ASF licenses this file
5+
to you under the Apache License, Version 2.0 (the
6+
"License"); you may not use this file except in compliance
7+
with the License. You may obtain a copy of the License at
8+
9+
http://www.apache.org/licenses/LICENSE-2.0
10+
11+
Unless required by applicable law or agreed to in writing,
12+
software distributed under the License is distributed on an
13+
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14+
KIND, either express or implied. See the License for the
15+
specific language governing permissions and limitations
16+
under the License.
17+
*/
18+
19+
20+
21+
buildscript {
22+
repositories {
23+
mavenCentral()
24+
}
25+
26+
dependencies {
27+
classpath 'com.android.tools.build:gradle:1.5.0'
28+
}
29+
30+
}
31+
32+
apply plugin: 'android-library'
33+
34+
ext {
35+
apply from: 'cordova.gradle'
36+
cdvCompileSdkVersion = privateHelpers.getProjectTarget()
37+
cdvBuildToolsVersion = privateHelpers.findLatestInstalledBuildTools()
38+
}
39+
40+
android {
41+
compileSdkVersion cdvCompileSdkVersion
42+
buildToolsVersion cdvBuildToolsVersion
43+
publishNonDefault true
44+
45+
compileOptions {
46+
sourceCompatibility JavaVersion.VERSION_1_6
47+
targetCompatibility JavaVersion.VERSION_1_6
48+
}
49+
50+
sourceSets {
51+
main {
52+
manifest.srcFile 'AndroidManifest.xml'
53+
java.srcDirs = ['src']
54+
resources.srcDirs = ['src']
55+
aidl.srcDirs = ['src']
56+
renderscript.srcDirs = ['src']
57+
res.srcDirs = ['res']
58+
assets.srcDirs = ['assets']
59+
}
60+
}
61+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
/**
2+
* Automatically generated file. DO NOT MODIFY
3+
*/
4+
package org.apache.cordova;
5+
6+
public final class BuildConfig {
7+
public static final boolean DEBUG = Boolean.parseBoolean("true");
8+
public static final String APPLICATION_ID = "org.apache.cordova";
9+
public static final String BUILD_TYPE = "debug";
10+
public static final String FLAVOR = "";
11+
public static final int VERSION_CODE = 1;
12+
public static final String VERSION_NAME = "1.0";
13+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<!--
3+
Licensed to the Apache Software Foundation (ASF) under one
4+
or more contributor license agreements. See the NOTICE file
5+
distributed with this work for additional information
6+
regarding copyright ownership. The ASF licenses this file
7+
to you under the Apache License, Version 2.0 (the
8+
"License"); you may not use this file except in compliance
9+
with the License. You may obtain a copy of the License at
10+
11+
http://www.apache.org/licenses/LICENSE-2.0
12+
13+
Unless required by applicable law or agreed to in writing,
14+
software distributed under the License is distributed on an
15+
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
KIND, either express or implied. See the License for the
17+
specific language governing permissions and limitations
18+
under the License.
19+
-->
20+
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
21+
package="org.apache.cordova"
22+
android:versionCode="1"
23+
android:versionName="1.0" >
24+
25+
<uses-sdk android:minSdkVersion="14" />
26+
27+
</manifest>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<!--
3+
Licensed to the Apache Software Foundation (ASF) under one
4+
or more contributor license agreements. See the NOTICE file
5+
distributed with this work for additional information
6+
regarding copyright ownership. The ASF licenses this file
7+
to you under the Apache License, Version 2.0 (the
8+
"License"); you may not use this file except in compliance
9+
with the License. You may obtain a copy of the License at
10+
11+
http://www.apache.org/licenses/LICENSE-2.0
12+
13+
Unless required by applicable law or agreed to in writing,
14+
software distributed under the License is distributed on an
15+
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
KIND, either express or implied. See the License for the
17+
specific language governing permissions and limitations
18+
under the License.
19+
-->
20+
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
21+
package="org.apache.cordova"
22+
android:versionCode="1"
23+
android:versionName="1.0" >
24+
25+
<uses-sdk android:minSdkVersion="14" />
26+
27+
</manifest>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<merger version="3"><dataSet config="main"><source path="/Users/igorkhomenko/workspace/quickblox-javascript-sdk/samples/webrtc-cordova/platforms/android/CordovaLib/assets"/></dataSet><dataSet config="debug"><source path="/Users/igorkhomenko/workspace/quickblox-javascript-sdk/samples/webrtc-cordova/platforms/android/CordovaLib/src/debug/assets"/></dataSet></merger>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<merger version="3"><dataSet config="main"><source path="/Users/igorkhomenko/workspace/quickblox-javascript-sdk/samples/webrtc-cordova/platforms/android/CordovaLib/src/main/jniLibs"/></dataSet><dataSet config="debug"><source path="/Users/igorkhomenko/workspace/quickblox-javascript-sdk/samples/webrtc-cordova/platforms/android/CordovaLib/src/debug/jniLibs"/></dataSet></merger>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<merger version="3"><dataSet config="main$Generated" generated="true"><source path="/Users/igorkhomenko/workspace/quickblox-javascript-sdk/samples/webrtc-cordova/platforms/android/CordovaLib/res"/><source path="/Users/igorkhomenko/workspace/quickblox-javascript-sdk/samples/webrtc-cordova/platforms/android/CordovaLib/build/generated/res/rs/debug"/><source path="/Users/igorkhomenko/workspace/quickblox-javascript-sdk/samples/webrtc-cordova/platforms/android/CordovaLib/build/generated/res/resValues/debug"/></dataSet><dataSet config="debug$Generated" generated="true"><source path="/Users/igorkhomenko/workspace/quickblox-javascript-sdk/samples/webrtc-cordova/platforms/android/CordovaLib/src/debug/res"/></dataSet><dataSet config="main" generated-set="main$Generated"><source path="/Users/igorkhomenko/workspace/quickblox-javascript-sdk/samples/webrtc-cordova/platforms/android/CordovaLib/res"/><source path="/Users/igorkhomenko/workspace/quickblox-javascript-sdk/samples/webrtc-cordova/platforms/android/CordovaLib/build/generated/res/rs/debug"/><source path="/Users/igorkhomenko/workspace/quickblox-javascript-sdk/samples/webrtc-cordova/platforms/android/CordovaLib/build/generated/res/resValues/debug"/></dataSet><dataSet config="debug" generated-set="debug$Generated"><source path="/Users/igorkhomenko/workspace/quickblox-javascript-sdk/samples/webrtc-cordova/platforms/android/CordovaLib/src/debug/res"/></dataSet><mergedItems/></merger>

0 commit comments

Comments
 (0)