mtrewartha / positional Goto Github PK
View Code? Open in Web Editor NEWPositional is a simple Android app for displaying information about your current location.
License: GNU General Public License v3.0
Positional is a simple Android app for displaying information about your current location.
License: GNU General Public License v3.0
java.lang.ClassCastException: java.lang.Boolean cannot be cast to java.lang.String
at android.app.SharedPreferencesImpl.getString(SharedPreferencesImpl.java:225)
at io.trewartha.positional.ui.position.PositionFragment.onViewCreated(PositionFragment.kt:74)
at androidx.fragment.app.FragmentManagerImpl.moveToState(FragmentManager.java:1471)
at androidx.fragment.app.FragmentManagerImpl.moveFragmentToExpectedState(FragmentManager.java:1784)
at androidx.fragment.app.FragmentManagerImpl.moveToState(FragmentManager.java:1852)
at androidx.fragment.app.BackStackRecord.executeOps(BackStackRecord.java:802)
at androidx.fragment.app.FragmentManagerImpl.executeOps(FragmentManager.java:2625)
at androidx.fragment.app.FragmentManagerImpl.executeOpsTogether(FragmentManager.java:2411)
at androidx.fragment.app.FragmentManagerImpl.removeRedundantOperationsAndExecute(FragmentManager.java:2366)
at androidx.fragment.app.FragmentManagerImpl.execSingleAction(FragmentManager.java:2243)
at androidx.fragment.app.BackStackRecord.commitNowAllowingStateLoss(BackStackRecord.java:654)
at androidx.fragment.app.FragmentPagerAdapter.finishUpdate(FragmentPagerAdapter.java:146)
at androidx.viewpager.widget.ViewPager.populate(ViewPager.java:1244)
at androidx.viewpager.widget.ViewPager.populate(ViewPager.java:1092)
at androidx.viewpager.widget.ViewPager.onMeasure(ViewPager.java:1622)
at android.view.View.measure(View.java:19886)
at android.widget.LinearLayout.measureVertical(LinearLayout.java:911)
at android.widget.LinearLayout.onMeasure(LinearLayout.java:640)
at android.view.View.measure(View.java:19886)
at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6085)
at android.widget.FrameLayout.onMeasure(FrameLayout.java:185)
at androidx.appcompat.widget.ContentFrameLayout.onMeasure(ContentFrameLayout.java:143)
at android.view.View.measure(View.java:19886)
at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6085)
at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1464)
at android.widget.LinearLayout.measureVertical(LinearLayout.java:758)
at android.widget.LinearLayout.onMeasure(LinearLayout.java:640)
at android.view.View.measure(View.java:19886)
at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6085)
at android.widget.FrameLayout.onMeasure(FrameLayout.java:185)
at android.view.View.measure(View.java:19886)
at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6085)
at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1464)
at android.widget.LinearLayout.measureVertical(LinearLayout.java:758)
at android.widget.LinearLayout.onMeasure(LinearLayout.java:640)
at android.view.View.measure(View.java:19886)
at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6085)
at android.widget.FrameLayout.onMeasure(FrameLayout.java:185)
at com.android.internal.policy.DecorView.onMeasure(DecorView.java:692)
at android.view.View.measure(View.java:19886)
at android.view.ViewRootImpl.performMeasure(ViewRootImpl.java:2328)
at android.view.ViewRootImpl.measureHierarchy(ViewRootImpl.java:1419)
at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1672)
at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1307)
at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6422)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:876)
at android.view.Choreographer.doCallbacks(Choreographer.java:688)
at android.view.Choreographer.doFrame(Choreographer.java:623)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:862)
at android.os.Handler.handleCallback(Handler.java:754)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:163)
at android.app.ActivityThread.main(ActivityThread.java:6378)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:901)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:791)
com.google.openlocationcode:openlocationcode:1.0.4
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
These are blocked by an existing closed PR and will not be recreated unless you click a checkbox below.
.github/workflows/tests.yml
actions/checkout v4
actions/setup-java v4
gradle/actions v3
android-actions/setup-android v3
gradle.properties
settings.gradle.kts
build.gradle.kts
app/build.gradle.kts
build-logic/gradle.properties
build-logic/settings.gradle.kts
build-logic/convention/build.gradle.kts
data/compass/build.gradle.kts
data/location/build.gradle.kts
data/settings/build.gradle.kts
data/sun/build.gradle.kts
gradle/libs.versions.toml
com.google.accompanist:accompanist-permissions 0.34.0
com.android.tools.build:gradle 8.3.2
com.android.tools:common 34.0.0
com.android.tools:desugar_jdk_libs 2.0.4
androidx.activity:activity-compose 1.9.0
androidx.activity:activity-ktx 1.9.0
androidx.appcompat:appcompat 1.6.1
androidx.compose:compose-bom 2024.04.01
androidx.compose.compiler:compiler 1.5.12
androidx.compose.material3:material3 1.2.1
androidx.compose.material3:material3-window-size-class 1.2.1
androidx.compose.ui:ui-tooling 1.6.6
androidx.constraintlayout:constraintlayout-compose 1.0.1
androidx.core:core-ktx 1.13.0
androidx.datastore:datastore 1.1.0
androidx.fragment:fragment-ktx 1.6.2
androidx.hilt:hilt-navigation-compose 1.2.0
androidx.hilt:hilt-navigation-fragment 1.2.0
androidx.legacy:legacy-support-v4 1.0.0
androidx.lifecycle:lifecycle-livedata-ktx 2.7.0
androidx.lifecycle:lifecycle-runtime-compose 2.7.0
androidx.lifecycle:lifecycle-runtime-ktx 2.7.0
androidx.lifecycle:lifecycle-viewmodel-compose 2.7.0
androidx.lifecycle:lifecycle-viewmodel-ktx 2.7.0
androidx.navigation:navigation-runtime-ktx 2.7.7
androidx.navigation:navigation-compose 2.7.7
androidx.preference:preference-ktx 1.2.1
androidx.test:core 1.5.0
androidx.test:runner 1.5.2
androidx.test.ext:junit-ktx 1.1.5
androidx.window:window 1.2.0
com.eygraber:compose-placeholder-material3 1.0.7
com.google.dagger:dagger-android 2.51.1
com.google.dagger:dagger-compiler 2.51.1
com.google.dagger:dagger 2.51.1
com.google.firebase:firebase-bom 32.8.1
com.google.firebase:firebase-crashlytics-gradle 2.9.9
com.google.dagger:hilt-android 2.51.1
com.google.dagger:hilt-compiler 2.51.1
com.google.devtools.ksp:com.google.devtools.ksp.gradle.plugin 1.9.23-1.0.20
com.google.android.material:material 1.11.0
com.google.android.gms:play-services-location 21.2.0
com.google.android.gms:play-services-base-testing 16.0.0
com.squareup:javapoet 1.13.0
javax.inject:javax.inject 1
io.kotest:kotest-assertions-core 5.8.1
org.jetbrains.kotlin:kotlin-gradle-plugin 1.9.23
org.jetbrains.kotlin:kotlin-reflect 1.9.23
org.jetbrains.kotlin:kotlin-test 1.9.23
org.jetbrains.kotlinx:kotlinx-coroutines-android 1.8.0
org.jetbrains.kotlinx:kotlinx-coroutines-core 1.8.0
org.jetbrains.kotlinx:kotlinx-coroutines-play-services 1.8.0
org.jetbrains.kotlinx:kotlinx-coroutines-test 1.8.0
org.jetbrains.kotlinx:kotlinx-datetime 0.5.0
org.jetbrains.kotlinx:kover-gradle-plugin 0.7.6
io.noties.markwon:core 4.6.2
com.google.protobuf:protoc 4.26.1
com.google.protobuf:protobuf-javalite 4.26.1
com.google.protobuf:protobuf-kotlin-lite 4.26.1
org.robolectric:robolectric 4.12.1
org.robolectric:shadows-playservices 4.12.1
com.luckycatlabs:SunriseSunsetCalculator 1.2
com.adarshr:gradle-test-logger-plugin 4.0.0
com.jakewharton.timber:timber 5.0.1
app.cash.turbine:turbine 1.1.0
earth.worldwind:worldwind 1.4.20
com.android.application 8.3.2
com.android.library 8.3.2
com.autonomousapps.dependency-analysis 1.31.0
com.google.firebase.crashlytics 2.9.9
com.google.devtools.ksp 1.9.23-1.0.20
com.google.gms.google-services 4.4.1
com.google.dagger.hilt.android 2.51.1
org.jetbrains.kotlin.android 1.9.23
org.jetbrains.kotlin.jvm 1.9.23
org.jetbrains.kotlinx.kover 0.7.6
com.google.protobuf 0.9.4
com.adarshr.test-logger 4.0.0
model/compass/build.gradle.kts
model/core/build.gradle.kts
model/location/build.gradle.kts
model/settings/build.gradle.kts
model/sun/build.gradle.kts
ui/compass/build.gradle.kts
ui/core/build.gradle.kts
ui/design/build.gradle.kts
ui/location/build.gradle.kts
ui/settings/build.gradle.kts
ui/sun/build.gradle.kts
gradle/wrapper/gradle-wrapper.properties
gradle 8.7
Hello, thanks a lot for creating this app, it's useful. I also posted it on popMODS.
I suggest adding the APKs to GitHub releases, giving people another option to install the application.
As nice as the minimal compass rose looks, some people might not know which ticks are which on the compass rose. Adding cardinal direction letters to their corresponding ticks would help people be crystal clear on which direction is which (rather important for compass functionality).
LocationManager
when Google Play Services are not installedWhen the user taps a help button on either the Location, Compass, or Sun view, a bottom sheet pops up with the help. The sheet isn't added to the back stack and the system back button and gesture are ignored. This isn't a huge deal, but definitely isn't best practice. The system back button and gesture should not be ignored; the sheet should be properly hidden.
Hi there! I'm a big fan of your app and had a feature request that I think would be a great addition:
I'd love to have a mode in the background that vibrates whenever the phone turns north to help instill a passive sense of where north is.
I totally understand if this is outside of your intended scope, but anyways there's my idea.
Thanks!
Please add this app on F-Driod.
I found a weird behaviour of this app.
In compass mode, I moved the phone over a table to point to north. Moving the device very slowly yielded the following degrees readings:
360° is understandable (aircrafts take off and land on RWY 36 for example), but what's the purpose of 361°?
Wouldn't it be correct to start from 1 degree? Why starting from 3?
Have a nice day!
Until we add one, we won't be visible in the Play Store.
The following views need to support landscape orientation:
If the sun never hits a phase of dawn or dusk at a given location on a given date, the app crashes when trying to show the solar times for that location on that date. Instead, the app should just show there is no time for that phase to indicate the sun doesn't hit it.
Either reintegrate Firebase or go with Sentry.
Set up Gradle version catalogs in #9 first.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.