Skip to content

Commit 5a877f2

Browse files
Merge pull request #44 from ignaciolarranaga/issue_43
Fixing for the plugin working in webpack for Angular projects (issue_43)
2 parents 4bdffee + b4e49c1 commit 5a877f2

File tree

87 files changed

+1038
-25
lines changed

Some content is hidden

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

87 files changed

+1038
-25
lines changed

.gitignore

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,13 @@ dist
55
node_modules
66

77
# Source, written in TypeScript so JavaScript is not necessary
8-
/source/**/*.js
8+
/nativescript-imagepicker/**/*.js
99

1010
# Example platforms
1111
/examples/ExampleImgPick/platforms/
1212
/examples/ExampleImgPick/lib/
13+
/examples/ExampleImgPickNG/platforms/
14+
/examples/ExampleImgPickNG/lib/
15+
/examples/ExampleImgPickNG/**/*.js
16+
/examples/ExampleImgPickNG/**/*.js.map
1317
.DS_Store

examples/ExampleImgPick/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
}
1818
},
1919
"dependencies": {
20-
"nativescript-imagepicker": "file:..\\..\\dist\\package",
21-
"tns-core-modules": "1.5.0"
20+
"nativescript-imagepicker": "file:..\\..\\nativescript-imagepicker",
21+
"tns-core-modules": "2.3.0"
2222
},
2323
"devDependencies": {
2424
"babel-traverse": "6.15.0",
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3+
package="__PACKAGE__"
4+
android:versionCode="1"
5+
android:versionName="1.0">
6+
7+
<supports-screens
8+
android:smallScreens="true"
9+
android:normalScreens="true"
10+
android:largeScreens="true"
11+
android:xlargeScreens="true"/>
12+
13+
<uses-sdk
14+
android:minSdkVersion="17"
15+
android:targetSdkVersion="__APILEVEL__"/>
16+
17+
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
18+
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
19+
<uses-permission android:name="android.permission.INTERNET"/>
20+
21+
<application
22+
android:name="com.tns.NativeScriptApplication"
23+
android:allowBackup="true"
24+
android:icon="@drawable/icon"
25+
android:label="@string/app_name"
26+
android:theme="@style/AppTheme">
27+
28+
<activity
29+
android:name="com.tns.NativeScriptActivity"
30+
android:label="@string/title_activity_kimera"
31+
android:configChanges="keyboardHidden|orientation|screenSize"
32+
android:theme="@style/LaunchScreenTheme">
33+
34+
<meta-data android:name="SET_THEME_ON_LAUNCH" android:resource="@style/AppTheme" />
35+
36+
<intent-filter>
37+
<action android:name="android.intent.action.MAIN" />
38+
<category android:name="android.intent.category.LAUNCHER" />
39+
</intent-filter>
40+
</activity>
41+
<activity android:name="com.tns.ErrorReportActivity"/>
42+
</application>
43+
</manifest>
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
// Add your native dependencies here:
2+
3+
// Uncomment to add recyclerview-v7 dependency
4+
//dependencies {
5+
// compile 'com.android.support:recyclerview-v7:+'
6+
//}
7+
8+
android {
9+
defaultConfig {
10+
generatedDensities = []
11+
applicationId = "__PACKAGE__"
12+
}
13+
aaptOptions {
14+
additionalParameters "--no-version-vectors"
15+
}
16+
}

0 commit comments

Comments
 (0)