Skip to content

Commit

Permalink
Finish initialisation by running the generator script.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexgerardojacinto committed Jan 7, 2025
1 parent 90126c8 commit 628534b
Show file tree
Hide file tree
Showing 12 changed files with 14 additions and 71 deletions.
4 changes: 2 additions & 2 deletions docs/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# LibTemplatePlaceholder
# OSGeolocationLib

Welcome to **LibTemplatePlaceholder**. This repository serves as a template to create repositories used to build Android libraries. This file will guide you through that process, that is defined by two sequential steps:
Welcome to **OSGeolocationLib**. This repository serves as a template to create repositories used to build Android libraries. This file will guide you through that process, that is defined by two sequential steps:

1. Use the current repository as the template for the new one.
2. Clone the new repository on our machine.
Expand Down
2 changes: 1 addition & 1 deletion fastlane/Appfile
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
json_key_file("") # Path to the json secret file - Follow https://docs.fastlane.tools/actions/supply/#setup to get one
package_name("organizationidplaceholder.libtemplateplaceholder") # e.g. com.krausefx.app
package_name("com.outsystems.plugins.osgeolocation.osgeolocationlib") # e.g. com.krausefx.app
57 changes: 0 additions & 57 deletions scripts/generator_script.sh

This file was deleted.

2 changes: 1 addition & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
@@ -1 +1 @@
rootProject.name = "LibTemplatePlaceholder"
rootProject.name = "OSGeolocationLib"
2 changes: 1 addition & 1 deletion sonar-project.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Organization and project keys are displayed in the right sidebar of the project homepage
sonar.organization=outsystemsrd
sonar.projectKey=OutSystems_LibTemplatePlaceholder-Android
sonar.projectKey=OutSystems_OSGeolocationLib-Android
sonar.host.url=https://sonarcloud.io

sonar.language=kotlin
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package organizationidplaceholder.libtemplateplaceholder
package com.outsystems.plugins.osgeolocation.osgeolocationlib

import androidx.test.platform.app.InstrumentationRegistry
import androidx.test.ext.junit.runners.AndroidJUnit4
Expand All @@ -19,6 +19,6 @@ class ExampleInstrumentedTest {
fun useAppContext() {
// Context of the app under test.
val appContext = InstrumentationRegistry.getInstrumentation().targetContext
assertEquals("organizationidplaceholder.libtemplateplaceholder", appContext.packageName)
assertEquals("com.outsystems.plugins.osgeolocation.osgeolocationlib", appContext.packageName)
}
}
4 changes: 2 additions & 2 deletions src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="organizationidplaceholder.libtemplateplaceholder">
package="com.outsystems.plugins.osgeolocation.osgeolocationlib">

<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/Theme.LibTemplatePlaceholder">
android:theme="@style/Theme.OSGeolocationLib">
<activity
android:name=".MainActivity"
android:exported="true">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package organizationidplaceholder.libtemplateplaceholder
package com.outsystems.plugins.osgeolocation.osgeolocationlib

import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
Expand Down
2 changes: 1 addition & 1 deletion src/main/res/values-night/themes.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<resources xmlns:tools="http://schemas.android.com/tools">
<!-- Base application theme. -->
<style name="Theme.LibTemplatePlaceholder" parent="Theme.MaterialComponents.DayNight.DarkActionBar">
<style name="Theme.OSGeolocationLib" parent="Theme.MaterialComponents.DayNight.DarkActionBar">
<!-- Primary brand color. -->
<item name="colorPrimary">@color/purple_200</item>
<item name="colorPrimaryVariant">@color/purple_700</item>
Expand Down
2 changes: 1 addition & 1 deletion src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<resources>
<string name="app_name">LibTemplatePlaceholder</string>
<string name="app_name">OSGeolocationLib</string>
</resources>
2 changes: 1 addition & 1 deletion src/main/res/values/themes.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<resources xmlns:tools="http://schemas.android.com/tools">
<!-- Base application theme. -->
<style name="Theme.LibTemplatePlaceholder" parent="Theme.MaterialComponents.DayNight.DarkActionBar">
<style name="Theme.OSGeolocationLib" parent="Theme.MaterialComponents.DayNight.DarkActionBar">
<!-- Primary brand color. -->
<item name="colorPrimary">@color/purple_500</item>
<item name="colorPrimaryVariant">@color/purple_700</item>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package organizationidplaceholder.libtemplateplaceholder
package com.outsystems.plugins.osgeolocation.osgeolocationlib

import org.junit.Test

Expand Down

0 comments on commit 628534b

Please sign in to comment.