Skip to content

Commit

Permalink
chore: rename android examples to hiero
Browse files Browse the repository at this point in the history
Signed-off-by: Ivan Ivanov <[email protected]>
  • Loading branch information
0xivanov committed Jan 2, 2025
1 parent 349e179 commit 32845e7
Show file tree
Hide file tree
Showing 8 changed files with 22 additions and 20 deletions.
8 changes: 4 additions & 4 deletions example-android/app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ repositories {

android {
compileSdk = 34
namespace = "com.hedera.android_example"
namespace = "org.hiero.android_example"

defaultConfig {
applicationId = "com.hedera.android_example"
applicationId = "org.hiero.android_example"
minSdk = 26
targetSdk = 34
versionCode = 1
Expand Down Expand Up @@ -47,10 +47,10 @@ android {

dependencies {
// --- Remove to use a published SDK version ---
implementation(platform("com.hedera.hashgraph:hiero-dependency-versions"))
implementation(platform("org.hiero:hiero-dependency-versions"))
// ---------------------------------------------

implementation("com.hedera.hashgraph:sdk:2.46.0")
implementation("org.hiero.sdk:sdk:2.46.0")

implementation("com.google.android.material:material:1.11.0")

Expand Down
2 changes: 1 addition & 1 deletion example-android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
android:supportsRtl="true"
android:theme="@style/AppTheme">
<activity
android:name=".MainActivity"
android:name="org.hiero.android_example.MainActivity"
android:label="@string/app_name"
android:theme="@style/AppTheme.NoActionBar"
android:exported="true">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// SPDX-License-Identifier: Apache-2.0
package com.hedera.android_example
package org.hiero.android_example

import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import com.hedera.android_example.ui.main.SectionsPagerAdapter
import org.hiero.android_example.ui.main.SectionsPagerAdapter
import androidx.viewpager2.widget.ViewPager2
import com.google.android.material.tabs.TabLayout
import com.google.android.material.tabs.TabLayoutMediator
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: Apache-2.0
package com.hedera.android_example.ui.main
package org.hiero.android_example.ui.main

import android.os.Bundle
import android.view.LayoutInflater
Expand All @@ -11,11 +11,11 @@ import android.widget.ProgressBar
import android.widget.TextView
import androidx.fragment.app.Fragment
import androidx.lifecycle.lifecycleScope
import com.hedera.android_example.R
import com.hedera.hashgraph.sdk.AccountBalanceQuery
import com.hedera.hashgraph.sdk.AccountId
import com.hedera.hashgraph.sdk.Client
import com.hedera.hashgraph.sdk.PrecheckStatusException
import org.hiero.android_example.R
import org.hiero.sdk.AccountBalanceQuery
import org.hiero.sdk.AccountId
import org.hiero.sdk.Client
import org.hiero.sdk.PrecheckStatusException
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.launch
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: Apache-2.0
package com.hedera.android_example.ui.main
package org.hiero.android_example.ui.main

import android.os.Bundle
import android.view.LayoutInflater
Expand All @@ -11,8 +11,8 @@ import android.widget.ProgressBar
import android.widget.TextView
import androidx.fragment.app.Fragment
import androidx.lifecycle.lifecycleScope
import com.hedera.android_example.R
import com.hedera.hashgraph.sdk.*
import org.hiero.android_example.R
import org.hiero.sdk.*
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.launch
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
// SPDX-License-Identifier: Apache-2.0
package com.hedera.android_example.ui.main
package org.hiero.android_example.ui.main

import android.widget.TextView
import android.view.LayoutInflater
import android.view.ViewGroup
import android.os.Bundle
import android.view.View
import com.hedera.android_example.R
import org.hiero.android_example.R
import androidx.fragment.app.Fragment
import com.hedera.hashgraph.sdk.PrivateKey
import org.hiero.sdk.PrivateKey

class PrivateKeyFragment : Fragment() {
private lateinit var privateKey: TextView
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: Apache-2.0
package com.hedera.android_example.ui.main
package org.hiero.android_example.ui.main

import androidx.fragment.app.FragmentActivity
import androidx.viewpager2.adapter.FragmentStateAdapter
Expand Down
2 changes: 2 additions & 0 deletions example-android/gradle/module.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
org.hiero.sdk=org.hiero.sdk:sdk
org.hiero.sdk.full=org.hiero.sdk:sdk-full

0 comments on commit 32845e7

Please sign in to comment.