Skip to content

Commit c7cd05e

Browse files
authored
feat: Add features for new release
2 parents 3c36a23 + e240010 commit c7cd05e

138 files changed

Lines changed: 3136 additions & 1304 deletions

File tree

Some content is hidden

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

.editorconfig

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
root = true
2+
3+
[*.{kt,kts}]
4+
ktlint_function_naming_ignore_when_annotated_with = Composable
5+
ktlint_standard_no-wildcard-imports = disabled
6+
max_line_length = off

app/build.gradle.kts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ android {
2020
applicationId = "com.opennotes"
2121
minSdk = 26
2222
targetSdk = 36
23-
versionCode = 11
24-
versionName = "1.3.7"
23+
versionCode = 12
24+
versionName = "1.3.8"
2525

2626
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
2727
vectorDrawables {
@@ -72,7 +72,8 @@ dependencies {
7272
implementation(libs.compose.material)
7373
implementation(libs.compose.material.icons.extended)
7474
implementation(libs.compose.ui.tooling.preview)
75-
implementation(libs.compose.material3)
75+
76+
implementation(libs.androidx.material3)
7677
debugImplementation(libs.compose.ui.tooling)
7778
androidTestImplementation(platform(libs.compose.bom))
7879
implementation(libs.material.kolor)
@@ -100,6 +101,7 @@ dependencies {
100101
implementation(libs.biometric)
101102
implementation(libs.glance.appwidget)
102103
implementation(libs.glance.material3)
104+
implementation(libs.coil.compose)
103105
testImplementation(libs.junit)
104106
androidTestImplementation(libs.androidx.junit)
105107
androidTestImplementation(libs.espresso)

app/proguard-rules.pro

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
-keepnames class com.google.gson.JsonDeserializer
99
-keepnames class com.google.gson.JsonSerializer
1010

11-
-keep class com.opennotes.feature_node.domain.model.** { *; }
11+
-keep class com.opennotes.featureNode.domain.model.** { *; }
1212

13-
-keep class com.opennotes.feature_node.data.repository.GsonJsonHandler { *; }
14-
-keep interface com.opennotes.feature_node.data.repository.JsonHandler { *; }
13+
-keep class com.opennotes.featureNode.data.repository.GsonJsonHandler { *; }
14+
-keep interface com.opennotes.featureNode.data.repository.JsonHandler { *; }

app/src/main/AndroidManifest.xml

Lines changed: 293 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -31,24 +31,33 @@
3131
tools:targetApi="31">
3232

3333
<activity
34-
android:name="com.opennotes.feature_node.presentation.MainActivity"
34+
android:name="com.opennotes.notes.presentation.MainActivity"
3535
android:exported="true"
3636
android:label="@string/app_name"
3737
android:theme="@style/Theme.OpenNotes">
3838
<intent-filter>
39-
<action android:name="android.intent.action.MAIN" />
40-
<category android:name="android.intent.category.LAUNCHER" />
39+
<action android:name="android.intent.action.VIEW" />
40+
<category android:name="android.intent.category.DEFAULT" />
41+
<category android:name="android.intent.category.BROWSABLE" />
42+
<data android:scheme="opennotes" android:host="note" />
4143
</intent-filter>
44+
</activity>
45+
46+
<activity-alias
47+
android:name="com.opennotes.featureNode.presentation.MainActivityDefault"
48+
android:enabled="true"
49+
android:exported="true"
50+
android:icon="@mipmap/ic_launcher"
51+
android:roundIcon="@mipmap/ic_launcher_round"
52+
android:targetActivity="com.opennotes.notes.presentation.MainActivity">
4253
<intent-filter>
43-
<action android:name="android.intent.action.VIEW" />
44-
<category android:name="android.intent.category.DEFAULT" />
45-
<category android:name="android.intent.category.BROWSABLE" />
46-
<data android:scheme="opennotes" android:host="note" />
54+
<action android:name="android.intent.action.MAIN" />
55+
<category android:name="android.intent.category.LAUNCHER" />
4756
</intent-filter>
48-
</activity>
57+
</activity-alias>
4958

5059
<activity
51-
android:name=".feature_node.widget.NotesWidgetConfigActivity"
60+
android:name=".widget.NotesWidgetConfigActivity"
5261
android:exported="true"
5362
android:theme="@style/Theme.OpenNotes">
5463
<intent-filter>
@@ -67,7 +76,7 @@
6776
</provider>
6877

6978
<receiver
70-
android:name=".feature_node.widget.NotesWidgetReceiver"
79+
android:name=".widget.NotesWidgetReceiver"
7180
android:exported="true">
7281
<intent-filter>
7382
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
@@ -76,6 +85,280 @@
7685
android:name="android.appwidget.provider"
7786
android:resource="@xml/notes_widget_info" />
7887
</receiver>
88+
89+
<receiver
90+
android:name=".widget.AddNoteReceiver"
91+
android:exported="true">
92+
<intent-filter>
93+
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
94+
</intent-filter>
95+
<meta-data
96+
android:name="android.appwidget.provider"
97+
android:resource="@xml/add_note_widget_info" />
98+
</receiver>
99+
100+
101+
102+
103+
<activity-alias
104+
android:name="com.opennotes.featureNode.presentation.MainActivityRed"
105+
android:enabled="false"
106+
android:exported="true"
107+
android:icon="@mipmap/ic_launcher_red"
108+
android:roundIcon="@mipmap/ic_launcher_red_round"
109+
android:targetActivity="com.opennotes.notes.presentation.MainActivity">
110+
<intent-filter>
111+
<action android:name="android.intent.action.MAIN" />
112+
<category android:name="android.intent.category.LAUNCHER" />
113+
</intent-filter>
114+
</activity-alias>
115+
116+
<activity-alias
117+
android:name="com.opennotes.featureNode.presentation.MainActivityPink"
118+
android:enabled="false"
119+
android:exported="true"
120+
android:icon="@mipmap/ic_launcher_pink"
121+
android:roundIcon="@mipmap/ic_launcher_pink_round"
122+
android:targetActivity="com.opennotes.notes.presentation.MainActivity">
123+
<intent-filter>
124+
<action android:name="android.intent.action.MAIN" />
125+
<category android:name="android.intent.category.LAUNCHER" />
126+
</intent-filter>
127+
</activity-alias>
128+
129+
<activity-alias
130+
android:name="com.opennotes.featureNode.presentation.MainActivityPurple"
131+
android:enabled="false"
132+
android:exported="true"
133+
android:icon="@mipmap/ic_launcher_purple"
134+
android:roundIcon="@mipmap/ic_launcher_purple_round"
135+
android:targetActivity="com.opennotes.notes.presentation.MainActivity">
136+
<intent-filter>
137+
<action android:name="android.intent.action.MAIN" />
138+
<category android:name="android.intent.category.LAUNCHER" />
139+
</intent-filter>
140+
</activity-alias>
141+
142+
<activity-alias
143+
android:name="com.opennotes.featureNode.presentation.MainActivityDeepPurple"
144+
android:enabled="false"
145+
android:exported="true"
146+
android:icon="@mipmap/ic_launcher_deep_purple"
147+
android:roundIcon="@mipmap/ic_launcher_deep_purple_round"
148+
android:targetActivity="com.opennotes.notes.presentation.MainActivity">
149+
<intent-filter>
150+
<action android:name="android.intent.action.MAIN" />
151+
<category android:name="android.intent.category.LAUNCHER" />
152+
</intent-filter>
153+
</activity-alias>
154+
155+
<activity-alias
156+
android:name="com.opennotes.featureNode.presentation.MainActivityIndigo"
157+
android:enabled="false"
158+
android:exported="true"
159+
android:icon="@mipmap/ic_launcher_indigo"
160+
android:roundIcon="@mipmap/ic_launcher_indigo_round"
161+
android:targetActivity="com.opennotes.notes.presentation.MainActivity">
162+
<intent-filter>
163+
<action android:name="android.intent.action.MAIN" />
164+
<category android:name="android.intent.category.LAUNCHER" />
165+
</intent-filter>
166+
</activity-alias>
167+
168+
<activity-alias
169+
android:name="com.opennotes.featureNode.presentation.MainActivityBlue"
170+
android:enabled="false"
171+
android:exported="true"
172+
android:icon="@mipmap/ic_launcher_blue"
173+
android:roundIcon="@mipmap/ic_launcher_blue_round"
174+
android:targetActivity="com.opennotes.notes.presentation.MainActivity">
175+
<intent-filter>
176+
<action android:name="android.intent.action.MAIN" />
177+
<category android:name="android.intent.category.LAUNCHER" />
178+
</intent-filter>
179+
</activity-alias>
180+
181+
<activity-alias
182+
android:name="com.opennotes.featureNode.presentation.MainActivityLightBlue"
183+
android:enabled="false"
184+
android:exported="true"
185+
android:icon="@mipmap/ic_launcher_light_blue"
186+
android:roundIcon="@mipmap/ic_launcher_light_blue_round"
187+
android:targetActivity="com.opennotes.notes.presentation.MainActivity">
188+
<intent-filter>
189+
<action android:name="android.intent.action.MAIN" />
190+
<category android:name="android.intent.category.LAUNCHER" />
191+
</intent-filter>
192+
</activity-alias>
193+
194+
<activity-alias
195+
android:name="com.opennotes.featureNode.presentation.MainActivityCyan"
196+
android:enabled="false"
197+
android:exported="true"
198+
android:icon="@mipmap/ic_launcher_cyan"
199+
android:roundIcon="@mipmap/ic_launcher_cyan_round"
200+
android:targetActivity="com.opennotes.notes.presentation.MainActivity">
201+
<intent-filter>
202+
<action android:name="android.intent.action.MAIN" />
203+
<category android:name="android.intent.category.LAUNCHER" />
204+
</intent-filter>
205+
</activity-alias>
206+
207+
<activity-alias
208+
android:name="com.opennotes.featureNode.presentation.MainActivityTeal"
209+
android:enabled="false"
210+
android:exported="true"
211+
android:icon="@mipmap/ic_launcher_teal"
212+
android:roundIcon="@mipmap/ic_launcher_teal_round"
213+
android:targetActivity="com.opennotes.notes.presentation.MainActivity">
214+
<intent-filter>
215+
<action android:name="android.intent.action.MAIN" />
216+
<category android:name="android.intent.category.LAUNCHER" />
217+
</intent-filter>
218+
</activity-alias>
219+
220+
<activity-alias
221+
android:name="com.opennotes.featureNode.presentation.MainActivityGreen"
222+
android:enabled="false"
223+
android:exported="true"
224+
android:icon="@mipmap/ic_launcher_green"
225+
android:roundIcon="@mipmap/ic_launcher_green_round"
226+
android:targetActivity="com.opennotes.notes.presentation.MainActivity">
227+
<intent-filter>
228+
<action android:name="android.intent.action.MAIN" />
229+
<category android:name="android.intent.category.LAUNCHER" />
230+
</intent-filter>
231+
</activity-alias>
232+
233+
<activity-alias
234+
android:name="com.opennotes.featureNode.presentation.MainActivityLightGreen"
235+
android:enabled="false"
236+
android:exported="true"
237+
android:icon="@mipmap/ic_launcher_light_green"
238+
android:roundIcon="@mipmap/ic_launcher_light_green_round"
239+
android:targetActivity="com.opennotes.notes.presentation.MainActivity">
240+
<intent-filter>
241+
<action android:name="android.intent.action.MAIN" />
242+
<category android:name="android.intent.category.LAUNCHER" />
243+
</intent-filter>
244+
</activity-alias>
245+
246+
<activity-alias
247+
android:name="com.opennotes.featureNode.presentation.MainActivityLime"
248+
android:enabled="false"
249+
android:exported="true"
250+
android:icon="@mipmap/ic_launcher_lime"
251+
android:roundIcon="@mipmap/ic_launcher_lime_round"
252+
android:targetActivity="com.opennotes.notes.presentation.MainActivity">
253+
<intent-filter>
254+
<action android:name="android.intent.action.MAIN" />
255+
<category android:name="android.intent.category.LAUNCHER" />
256+
</intent-filter>
257+
</activity-alias>
258+
259+
<activity-alias
260+
android:name="com.opennotes.featureNode.presentation.MainActivityYellow"
261+
android:enabled="false"
262+
android:exported="true"
263+
android:icon="@mipmap/ic_launcher_yellow"
264+
android:roundIcon="@mipmap/ic_launcher_yellow_round"
265+
android:targetActivity="com.opennotes.notes.presentation.MainActivity">
266+
<intent-filter>
267+
<action android:name="android.intent.action.MAIN" />
268+
<category android:name="android.intent.category.LAUNCHER" />
269+
</intent-filter>
270+
</activity-alias>
271+
272+
<activity-alias
273+
android:name="com.opennotes.featureNode.presentation.MainActivityAmber"
274+
android:enabled="false"
275+
android:exported="true"
276+
android:icon="@mipmap/ic_launcher_amber"
277+
android:roundIcon="@mipmap/ic_launcher_amber_round"
278+
android:targetActivity="com.opennotes.notes.presentation.MainActivity">
279+
<intent-filter>
280+
<action android:name="android.intent.action.MAIN" />
281+
<category android:name="android.intent.category.LAUNCHER" />
282+
</intent-filter>
283+
</activity-alias>
284+
285+
<activity-alias
286+
android:name="com.opennotes.featureNode.presentation.MainActivityOrange"
287+
android:enabled="false"
288+
android:exported="true"
289+
android:icon="@mipmap/ic_launcher_orange"
290+
android:roundIcon="@mipmap/ic_launcher_orange_round"
291+
android:targetActivity="com.opennotes.notes.presentation.MainActivity">
292+
<intent-filter>
293+
<action android:name="android.intent.action.MAIN" />
294+
<category android:name="android.intent.category.LAUNCHER" />
295+
</intent-filter>
296+
</activity-alias>
297+
298+
<activity-alias
299+
android:name="com.opennotes.featureNode.presentation.MainActivityDeepOrange"
300+
android:enabled="false"
301+
android:exported="true"
302+
android:icon="@mipmap/ic_launcher_deep_orange"
303+
android:roundIcon="@mipmap/ic_launcher_deep_orange_round"
304+
android:targetActivity="com.opennotes.notes.presentation.MainActivity">
305+
<intent-filter>
306+
<action android:name="android.intent.action.MAIN" />
307+
<category android:name="android.intent.category.LAUNCHER" />
308+
</intent-filter>
309+
</activity-alias>
310+
311+
<activity-alias
312+
android:name="com.opennotes.featureNode.presentation.MainActivityBrown"
313+
android:enabled="false"
314+
android:exported="true"
315+
android:icon="@mipmap/ic_launcher_brown"
316+
android:roundIcon="@mipmap/ic_launcher_brown_round"
317+
android:targetActivity="com.opennotes.notes.presentation.MainActivity">
318+
<intent-filter>
319+
<action android:name="android.intent.action.MAIN" />
320+
<category android:name="android.intent.category.LAUNCHER" />
321+
</intent-filter>
322+
</activity-alias>
323+
324+
<activity-alias
325+
android:name="com.opennotes.featureNode.presentation.MainActivityGrey"
326+
android:enabled="false"
327+
android:exported="true"
328+
android:icon="@mipmap/ic_launcher_grey"
329+
android:roundIcon="@mipmap/ic_launcher_grey_round"
330+
android:targetActivity="com.opennotes.notes.presentation.MainActivity">
331+
<intent-filter>
332+
<action android:name="android.intent.action.MAIN" />
333+
<category android:name="android.intent.category.LAUNCHER" />
334+
</intent-filter>
335+
</activity-alias>
336+
337+
<activity-alias
338+
android:name="com.opennotes.featureNode.presentation.MainActivityBlueGrey"
339+
android:enabled="false"
340+
android:exported="true"
341+
android:icon="@mipmap/ic_launcher_blue_grey"
342+
android:roundIcon="@mipmap/ic_launcher_blue_grey_round"
343+
android:targetActivity="com.opennotes.notes.presentation.MainActivity">
344+
<intent-filter>
345+
<action android:name="android.intent.action.MAIN" />
346+
<category android:name="android.intent.category.LAUNCHER" />
347+
</intent-filter>
348+
</activity-alias>
349+
<activity-alias
350+
android:name="com.opennotes.featureNode.presentation.MainActivityBlack"
351+
android:enabled="false"
352+
android:exported="true"
353+
android:icon="@mipmap/ic_launcher_black"
354+
android:roundIcon="@mipmap/ic_launcher_black_round"
355+
android:targetActivity="com.opennotes.notes.presentation.MainActivity">
356+
<intent-filter>
357+
<action android:name="android.intent.action.MAIN" />
358+
<category android:name="android.intent.category.LAUNCHER" />
359+
</intent-filter>
360+
</activity-alias>
361+
79362
</application>
80363

81364
</manifest>

0 commit comments

Comments
 (0)