Skip to content

Commit

Permalink
Changed package name
Browse files Browse the repository at this point in the history
  • Loading branch information
h0ker committed Aug 25, 2024
1 parent ff026c5 commit 5819151
Show file tree
Hide file tree
Showing 25 changed files with 58 additions and 99 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ android {
applicationId = "com.hoker.intra_example"
minSdk = 28
targetSdk = 34
versionCode = 26
versionName = "1.1.8"
versionCode = 125
versionName = "1.2.5"

testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
vectorDrawables {
Expand Down

This file was deleted.

4 changes: 2 additions & 2 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@
android:fullBackupContent="@xml/backup_rules"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:name=".IntraExampleApplication"
android:name="com.hoker.intra_example.IntraExampleApplication"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/Theme.Intra"
tools:targetApi="31">
<activity
android:name=".presentation.IntraExampleActivity"
android:name="com.hoker.intra_example.presentation.IntraExampleActivity"
android:exported="true"
android:screenOrientation="portrait"
android:windowSoftInputMode="adjustResize"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.carbidecowboy.intra_example
package com.hoker.intra_example

import android.app.Application
import dagger.hilt.android.HiltAndroidApp
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.carbidecowboy.intra_example.presentation
package com.hoker.intra_example.presentation

import android.os.Bundle
import android.os.PersistableBundle
Expand All @@ -8,7 +8,7 @@ import androidx.compose.material.MaterialTheme
import androidx.compose.material.Surface
import androidx.compose.ui.Modifier
import androidx.compose.ui.graphics.Color
import com.carbidecowboy.intra.domain.NfcActivity
import com.hoker.intra.domain.NfcActivity
import com.carbidecowboy.supra.presentation.scaffolds.SupraGyroScaffold
import dagger.hilt.android.AndroidEntryPoint

Expand Down
17 changes: 0 additions & 17 deletions app/src/test/java/com/carbidecowboy/intra/ExampleUnitTest.kt

This file was deleted.

2 changes: 1 addition & 1 deletion intra/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ afterEvaluate {
from(components["release"])
groupId = "com.github.CarbideCowboy"
artifactId = "Intra"
version = "1.2.3"
version = "1.2.5"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
package com.carbidecowboy.intra.data
package com.hoker.intra.data

import android.nfc.NdefMessage
import android.nfc.Tag
import android.nfc.tech.IsoDep
import android.nfc.tech.Ndef
import android.util.Log
import com.carbidecowboy.intra.di.IntraAuthApiService
import com.carbidecowboy.intra.domain.ApduUtils
import com.carbidecowboy.intra.domain.AuthApiService
import com.carbidecowboy.intra.domain.NfcController
import com.carbidecowboy.intra.domain.OperationResult
import com.carbidecowboy.intra.domain.Timer
import com.carbidecowboy.intra.domain.request.ChallengeRequest
import com.carbidecowboy.intra.domain.request.SessionRequest
import com.hoker.intra.di.IntraAuthApiService
import com.hoker.intra.domain.ApduUtils
import com.hoker.intra.domain.AuthApiService
import com.hoker.intra.domain.NfcController
import com.hoker.intra.domain.OperationResult
import com.hoker.intra.domain.Timer
import com.hoker.intra.domain.request.ChallengeRequest
import com.hoker.intra.domain.request.SessionRequest
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.Job
import kotlinx.coroutines.async
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
package com.carbidecowboy.intra.data
package com.hoker.intra.data

import android.nfc.NdefMessage
import android.nfc.Tag
import android.nfc.tech.Ndef
import android.nfc.tech.NfcA
import android.util.Log
import com.carbidecowboy.intra.domain.ApduUtils
import com.carbidecowboy.intra.domain.NfcController
import com.carbidecowboy.intra.domain.OperationResult
import com.carbidecowboy.intra.domain.Timer
import com.hoker.intra.domain.ApduUtils
import com.hoker.intra.domain.NfcController
import com.hoker.intra.domain.OperationResult
import com.hoker.intra.domain.Timer
import kotlinx.coroutines.Job
import kotlinx.coroutines.flow.MutableStateFlow
import kotlinx.coroutines.flow.StateFlow
Expand Down
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
package com.carbidecowboy.intra.data
package com.hoker.intra.data

import android.nfc.NdefMessage
import android.nfc.Tag
import android.nfc.tech.Ndef
import android.nfc.tech.NfcV
import android.util.Log
import com.carbidecowboy.intra.di.IntraAuthApiService
import com.carbidecowboy.intra.domain.ApduUtils
import com.carbidecowboy.intra.domain.AuthApiService
import com.carbidecowboy.intra.domain.NfcController
import com.carbidecowboy.intra.domain.OperationResult
import com.carbidecowboy.intra.domain.Timer
import com.carbidecowboy.intra.domain.request.ChallengeRequest
import com.carbidecowboy.intra.domain.request.SessionRequest
import com.hoker.intra.di.IntraAuthApiService
import com.hoker.intra.domain.ApduUtils
import com.hoker.intra.domain.AuthApiService
import com.hoker.intra.domain.NfcController
import com.hoker.intra.domain.OperationResult
import com.hoker.intra.domain.Timer
import com.hoker.intra.domain.request.ChallengeRequest
import com.hoker.intra.domain.request.SessionRequest
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.Job
import kotlinx.coroutines.async
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.carbidecowboy.intra.di
package com.hoker.intra.di

import com.carbidecowboy.intra.domain.AuthApiService
import com.hoker.intra.domain.AuthApiService
import dagger.Module
import dagger.Provides
import dagger.hilt.InstallIn
Expand Down
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
package com.carbidecowboy.intra.di
package com.hoker.intra.di

import android.content.Context
import android.nfc.NfcAdapter
import android.nfc.Tag
import android.nfc.tech.IsoDep
import android.nfc.tech.NfcA
import android.nfc.tech.NfcV
import com.carbidecowboy.intra.data.IsodepControllerImpl
import com.carbidecowboy.intra.data.NfcAControllerImpl
import com.carbidecowboy.intra.data.NfcVControllerImpl
import com.carbidecowboy.intra.domain.NfcAdapterController
import com.carbidecowboy.intra.domain.NfcController
import com.carbidecowboy.intra.domain.OperationResult
import com.hoker.intra.data.IsodepControllerImpl
import com.hoker.intra.data.NfcAControllerImpl
import com.hoker.intra.data.NfcVControllerImpl
import com.hoker.intra.domain.NfcAdapterController
import com.hoker.intra.domain.NfcController
import com.hoker.intra.domain.OperationResult
import dagger.Binds
import dagger.Module
import dagger.Provides
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.carbidecowboy.intra.domain
package com.hoker.intra.domain

import java.io.IOException
import java.nio.ByteBuffer
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package com.carbidecowboy.intra.domain
package com.hoker.intra.domain

import com.carbidecowboy.intra.domain.request.ChallengeRequest
import com.carbidecowboy.intra.domain.request.SessionRequest
import com.carbidecowboy.intra.domain.response.ChallengeResponse
import com.carbidecowboy.intra.domain.response.SessionResponse
import com.hoker.intra.domain.request.ChallengeRequest
import com.hoker.intra.domain.request.SessionRequest
import com.hoker.intra.domain.response.ChallengeResponse
import com.hoker.intra.domain.response.SessionResponse
import retrofit2.Response
import retrofit2.http.Body
import retrofit2.http.POST
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.carbidecowboy.intra.domain
package com.hoker.intra.domain

object Consts {
const val SUCCESS_RESPONSE = "9000"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.carbidecowboy.intra.domain
package com.hoker.intra.domain

import android.os.Bundle
import android.os.PersistableBundle
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.carbidecowboy.intra.domain
package com.hoker.intra.domain

import android.app.Activity
import android.nfc.NfcAdapter
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.carbidecowboy.intra.domain
package com.hoker.intra.domain

import android.nfc.NdefMessage
import android.nfc.Tag
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package com.carbidecowboy.intra.domain
package com.hoker.intra.domain

import android.nfc.Tag
import androidx.lifecycle.ViewModel
import com.carbidecowboy.intra.di.NfcModule
import com.hoker.intra.di.NfcModule
import java.util.UUID

abstract class NfcViewModel(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.carbidecowboy.intra.domain
package com.hoker.intra.domain

sealed class OperationResult<out T> {
data class Success<out T>(val data: T) : OperationResult<T>()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.carbidecowboy.intra.domain
package com.hoker.intra.domain

import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.Dispatchers
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.carbidecowboy.intra.domain.request
package com.hoker.intra.domain.request

data class ChallengeRequest(
val scheme: Int,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.carbidecowboy.intra.domain.request
package com.hoker.intra.domain.request

data class SessionRequest(
val uid: String,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.carbidecowboy.intra.domain.response
package com.hoker.intra.domain.response

data class ChallengeResponse(
val payload: String,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.carbidecowboy.intra.domain.response
package com.hoker.intra.domain.response

data class SessionResponse (
val token: String
Expand Down

0 comments on commit 5819151

Please sign in to comment.