Turalllb
Ты путаешь java.time и java.util.TimeZone
Ммм. Понял. В проект внедрена некая либа joda или koda , она вроде именно для работы с временем. Надо глянуть как она мне может помочь
Turalllb
Joda time поди
Да точно
Anonymous
#question Hello everyone. I have a question about security of app; My application has a String type secret keys. How can I store it safe ? Shortly I want to hide that keys from hackers in app
Anonymous
What do you do in problem like that ?
Vega
Хелло Норм ли практика во фрагмент засовывать навигейшен бар и соответственно там ещё 2+ фрагментов?
Mike
What do you do in problem like that ?
I don't store any private keys within app.
Tony
where you gonna store yout long password?
User will type it whenever he wanna get his secured data
Hasan
#question Hello everyone. I have a question about security of app; My application has a String type secret keys. How can I store it safe ? Shortly I want to hide that keys from hackers in app
If you are planning to post that project as open source you can try to hide api keys in build.gradle. Read this : https://medium.com/code-better/hiding-api-keys-from-your-android-repository-b23f5598b906
Hasan
Well, original question wasn't about hiding keys in the repository, but within the app. :)
For me the only logical secret keys inside of app is API keys. And the only reason you will need to hide your API keys it's when you want to post project as open source :)
Hasan
I really can't find another use case for secret keys inside app
Mike
All use-cases for secret keys inside app are invalid.
Denys
inside of code of course
So I can decompile your dex code and steal your API_KEY. I suppose, question was about it. 🤔
Hasan
So I can decompile your dex code and steal your API_KEY. I suppose, question was about it. 🤔
chance that someone will decompile your app and get the api keys is pretty low. You can't even get proper code when you decompile an app.
Mike
chance that someone will decompile your app and get the api keys is pretty low. You can't even get proper code when you decompile an app.
The chance is around 100%. Every app uploaded to store gets analyzed by some bots for some easy-to-crack cases.
Hasan
Not Google ones
okay but without that api keys your app will not function properly. so you have no chance.
Denys
chance that someone will decompile your app and get the api keys is pretty low. You can't even get proper code when you decompile an app.
Well, it's not true. It's quite easy to decompile apk even if it was obfuscated. But real cases shows us that, unfortunately, S means Security in the word "Android".
Hasan
Why do you need private keys in your app?
okay let's say you have an app which needs google maps. how you will use google maps without api key?
Mike
okay let's say you have an app which needs google maps. how you will use google maps without api key?
There's nothing wrong with GMaps API keys in app, it cannot be used without correct signature.
Mike
unless your app is widely used and popular among the world no one will care about it :)
False. Unpopular app can be decompiled by a robot. A robot can inject ads, repach app and publish it on an alternative store.
Hasan
There's nothing wrong with GMaps API keys in app, it cannot be used without correct signature.
okay. your app depends on some 3rd party api and that api requires api key to work. and there is no other alternative. what will you do?
Denys
There's nothing common between OS security and private keys in client app.
I ment Android development, ofc. (I personally saw few cases when apps where using HTTP or "secure messenger" that stores plain password).
Hasan
validate user auth and call API from my server
let's say the hacker which can decompile your beloved apk's can also fake your user auth :)
Hasan
If they will abuse server, I will ban them.
and they will just change api and come back. :) if someone wants to crack your apk that person will do it and there is no way you can stop him
Anonymous
Why android so open source 🙈
Hasan
Change what? Auth? You still can ban by IP
it's type. I wanted to write change ip
Hasan
*o
Hasan
Why android so open source 🙈
This makes it so secure, powerful and popular
Anonymous
nice to meet you
leksss
https://fortnite-public-api.theapinetwork.com/prod09/store/get?language=ru подскажите, это json? спарсить же можно?
Богдан
Ребят кто подскажит где находиться dex file после компиляции но до пекеджинга? В buid папке есть margeDex folder но там все в перемешку..
Богдан
Смотрел код android плагина пока не нашол ..
leksss
да, это он. Да, можно
чтобы автоматом в ресайкл записывался
Nikolay
чтобы автоматом в ресайкл записывался
как это, автоматом? как текст? 🤔
leksss
как это, автоматом? как текст? 🤔
ну допустим в джсоне 10 элементов, все они подкгрузятся в ресайклвью. Завтра будет 12 элементов, тогда и в ресайкле 12 будет.. как то так
Богдан
😂
leksss
окей, можно. Только вот слово - “автоматом” - меня смущает.
ну парсер же парсит то, что есть в файле. 10 строк, то 10, 12 то 12.. работает с интернетом же
Nikolay
ну парсер же парсит то, что есть в файле. 10 строк, то 10, 12 то 12.. работает с интернетом же
ну пока ты не напишешь чтобы он парсил - он как бы и не парсит. Вообщем, сформулируй вопрос. А то это гадание на кофейной гуще
Богдан
Не парся скажи что ты хочешь простыми словами
Бек
привет здесь кто middle or senior нужно помощь
Бек
в активити нужно отслеживать, когда телефон юзера будет возле определенной геоточки. Как порекомендуете это делать? Желательно, чтобы и в фоне это тоже работало
Сергій
Geofences https://developer.android.com/training/location/geofencing
Бек
Geofences https://developer.android.com/training/location/geofencing
но я этот метод потробаал
Бек
Geofences https://developer.android.com/training/location/geofencing
можно скинить проект в личку если ты знаеш пряверяй пж
Сергій
nope
Сергій
i'm busy
Бек
но все кодов есть просто run делаеш и проверяш
Бек
i'm busy
у тебя есть example если есть отправь личку пж
Сергій
нет
Бек
нет
sergey
..
Бек
Бек
Geofence Entered Иногда работает ниногда нет
Сергей
Уже 2 час не могу решить проблему Super calls to Java default methods are prohibited in JVM target 1.6. Recompile with '-jvm-target 1.8' Хотя я в проекте поменял на 1.8
а у нас андроид всё из восьмерки поддерживает? Я думал там по частям подключают. лямбды и потоки да, а остальное потом