#KRS PHONE

1 messages · Page 1 of 1 (latest)

split frost
supple sierra
#

👊

radiant stump
#

Nice! 🤝

split frost
round field
#

react b4 you learn about state management libraries 🥀

split frost
split frost
# round field react b4 you learn about state management libraries 🥀

I've been developing with React for about 4 months, and I don't see what the problem is if I choose to use React or any other technology to learn and improve.

Unfortunately, I often see people who are quick to criticize or belittle other people's work instead of offering constructive feedback. If you don't like the project, you're completely free not to download it or use it.

On top of that, Krs Phone is a completely free and open-source resource, released so that anyone can study it, modify it, and contribute to its growth. Those who want to use it are welcome to do so; those who aren't interested can simply move on.

I'm honestly tired of people who always think they're better than everyone else. I've never been able to stand that kind of attitude. Everyone starts somewhere, and the point should be helping each other improve, not trying to put others down.

Have a good day. 👍

split frost
round field
#

why did you immediately take offense

last eagle
round field
#

Or maybe yous should grow a pair between them legs and understand that not everything in life is an attack but instead maybe a joke with some criticism baked in

split frost
radiant stump
#

@split frost can you add me ? Sorry for the tag ❤️

split frost
noble gazelle
split frost
noble gazelle
#

Thank you for your contribution to the community; it's truly a pleasure to have developers like you.

rancid monolith
#

@split frost any plans on making an android UI at all bro

split frost
cold holly
#

Looks nice! Good job 👍🏼

split frost
#

@jovial nebula Yes

jovial nebula
latent mirage
split frost
split frost
noble gazelle
#

Para el tema de las imágenes y vídeos es por fivemanage? @split frost

split frost
noble gazelle
#

Use framer and screenshot

latent mirage
split frost
latent mirage
split frost
latent mirage
#

Any help u need i can contrabiute

split frost
lusty swallow
#

phone was updated?

#

Can i use now all apps?

split frost
#

What I'm doing is not finished

lusty swallow
#

Okay

long aspen
#

@split frost Nice phone, but please add Instagram integration, Discord webhook support, a camera system, emergency phone numbers, and messaging.
Also add an active job sign/status and more future features for the phone.

split frost
long aspen
#

@split frost I want to add Bangladeshi phone numbers. Could you please provide the phone number format for that?
Bangladeshi numbers look like this: 01963283659

split frost
#

@long aspen Test it

local function formatPhoneNumber(rawNumber)
    if not rawNumber or #rawNumber ~= 11 then return rawNumber end
    return string.format("%s-%s-%s", rawNumber:sub(1, 3), rawNumber:sub(4, 7), rawNumber:sub(8, 11))
end

local function generatePhoneNumber()
    local prefixes = {"013", "014", "015", "016", "017", "018", "019"}
    local prefix = prefixes[math.random(1, #prefixes)]
    local number
    
    repeat
        local suffix = ""
     
        for i = 1, 8 do
            suffix = suffix .. tostring(math.random(0, 9))
        end
        number = prefix .. suffix
        
        local exists = MySQL.scalar.await("SELECT 1 FROM krs_phone_users WHERE phone_number = ?", { number })
    until not exists
    
    return number
end
long aspen
#

Which file should I make the changes in?

split frost
long aspen
long aspen
split frost
# long aspen Okay, what needs to be changed in the config file?
local function formatPhoneNumber(rawNumber)
    
    local expectedLength = 3 + Config.PhoneNumber.Length 
    if not rawNumber or #rawNumber ~= expectedLength then return rawNumber end
    
    return string.format("%s-%s-%s", rawNumber:sub(1, 3), rawNumber:sub(4, 7), rawNumber:sub(8, 11))
end

local function generatePhoneNumber()
  
    local prefix = Config.PhoneNumber.Prefixes[math.random(1, #Config.PhoneNumber.Prefixes)]
    local number
    
    repeat
        local suffix = ""
    
        for i = 1, Config.PhoneNumber.Length do
            suffix = suffix .. tostring(math.random(0, 9))
        end
        number = prefix .. suffix
        
        local exists = MySQL.scalar.await("SELECT 1 FROM krs_phone_users WHERE phone_number = ?", { number })
    until not exists
    
    return number
end

Config.PhoneNumber = {
    Length = 8, 
    Prefixes = { "013", "014", "015", "016", "017", "018", "019" }
}
long aspen
split frost
cold holly
#

@split frost Can i DM you?

split frost
noble gazelle
#

esto lo hice yo

#

si lo quieres dimelo

noble gazelle
split frost
noble gazelle
#

Estoy intentando hacer lo de la cámara pero no funciona bien JAJSJJS

split frost
quick nest
#

@split frost Hello,
All the apps on my phone say this, none of them open except for the settings app. What could be the problem?

split frost
# quick nest <@1052777927554633779> Hello, All the apps on my phone say this, none of them op...

There is actually no problem with the phone. The version I released was intentionally made this way to give developers the opportunity to build and customize their own apps and phone features.
It's not a bug it's working exactly as intended. At the moment, only the Settings app is functional by default, while the other apps are placeholders and display the "under development" message until they are implemented.

fathom harbor
#

nice work, it makes me smile though you used ts but you don't use it because for the most part you pass any, but it does nothing, great work anyway

quick nest
split frost
quick nest
#

But which files can I then modify in the applications?

split frost
# quick nest But which files can I then modify in the applications?

If you don't know what you're reading or what you're modifying, it's difficult for me to explain it to you. You need to learn the basics first. The phone is fully customizable, but understanding which files to edit depends on your knowledge of the structure and the framework you're working with. Once you understand the fundamentals, you'll know exactly where and what to modify.

split frost
noble gazelle
tender meadow
#

im new to all this sorry but i changed it to false so you can move while using the phone saved it and all that but i still cant move with the phone am i missing something

alpine frigate
#

Just delete them

long aspen
#

@split frost Any Update?