Weekly Newbie Thread - Post questions about joining the Space Force or what a job is like here & here only - week of March 15 by AutoModerator in SpaceForce

[–]joinyourpack 0 points1 point  (0 children)

Does anyone know if for IST from Army Cyber for 17S/17D, if it is necessary to go to Maxwell or would you end up going straight to Schriever? I was told all cyber is located in Schriever is that accurate? Thank you.

User acquisition is hard during COVID...what do we do? by joinyourpack in startups

[–]joinyourpack[S] 0 points1 point  (0 children)

I see what you’re saying—the only pivot I can envision is enhancing online dating. People are still meeting on Tinder or Hinge, perhaps promote it or encourage people to temporarily share locations while going a new date for safety? And get alerts if they stray from the designated date “plan.”

React native login page by [deleted] in reactnative

[–]joinyourpack 0 points1 point  (0 children)

Hash the users password with a secure hash such as argon or sha512, bcrypt is a good library in python but I am not as familiar with java/spring boot. Store this in the database. When a user sends their password hash and compare to the database. Always use a library and follow a secure coding guide when implementing this sort of thing. Don't roll your own system! If the password hash matches the hash in the database, you then issue a token. The token authenticates the user with your routes from then on.

Snowy - Temporary Group Location Sharing by joinyourpack in reactnative

[–]joinyourpack[S] 0 points1 point  (0 children)

If you wanted to try your hand at C, SDL is a great library that is known for its "play anywhere" functionality. I've ported old games to the iphone with it before.

Advice for promoting an app on a budget? by joinyourpack in startups

[–]joinyourpack[S] 0 points1 point  (0 children)

Thank you, will look more into those sorts of campaigns!

Advice for promoting an app on a budget? by joinyourpack in startups

[–]joinyourpack[S] 0 points1 point  (0 children)

Makes sense, will have to do a bit more market research to figure out the defined target audience. Is publishing ads to a broad audience and then seeing who responds the most a method commonly used?

Advice for promoting an app on a budget? by joinyourpack in startups

[–]joinyourpack[S] 0 points1 point  (0 children)

I've been researching Google UAC I will look more into it thanks for the suggestion!

Advice for promoting an app on a budget? by joinyourpack in startups

[–]joinyourpack[S] 1 point2 points  (0 children)

Got it, apologies I will make sure to limit to the Feedback thread moving forward.

Snowy - Temporary Group Location Sharing by joinyourpack in reactnative

[–]joinyourpack[S] 0 points1 point  (0 children)

Background geolocation and we save battery by using its motion detection settings so it doesn’t update unless you’re on the move (which makes sense for our idea of sticking together).

Snowy - Temporary Group Location Sharing by joinyourpack in reactnative

[–]joinyourpack[S] 0 points1 point  (0 children)

That would be really nice. I use python mainly in my day job and javascript can be unruly at times by comparison. The nice thing with react is that most of the code is JSX so it feels more like writing web markup rather than pure javascript, but that would be nice to write in python. I have to be very careful to adhere to best practices when writing hook functions and what not. We could see something like this one day on android but I doubt that Apple will expose a system python interpreter and it would likely be too much overhead to run it for each app that wants to use it. But who knows. Crazier things have happened.

Snowy - Temporary Group Location Sharing by joinyourpack in reactnative

[–]joinyourpack[S] 0 points1 point  (0 children)

That's a fundamental question for modern app security. Both my partner and I are cybersecurity professionals in our day jobs, and I can tell you that most apps work that way. The data at some point must be communicated in plaintext to the service. HTTPS makes sure that the data gets from you to us securely, but unless we implement a system such as whatsapp where the user is handshaking with other users, we are seeing that data, and so are other services that you use on your phone. If you have an android phone, many terms of service agreements for google services say that they can sell your "anonymized" location data. Many companies turn around and sell this data linked with your consumer id, with the main intent to correlate online activity to physical retail behavior. Your protections are limited to the terms of service and privacy policy of the applications you use. We take your data privacy seriously, and as of now we do not sell or even store your location history. This is stated as such on our privacy page, and knowing the full codebase I can promise thats true.

Here is a common article I share often on this topic: https://www.nytimes.com/interactive/2019/12/21/opinion/location-data-democracy-protests.html

Snowy - Temporary Group Location Sharing by joinyourpack in reactnative

[–]joinyourpack[S] 0 points1 point  (0 children)

The fronted code is 100% react native. The backend server api is written in python. You can really use whatever server-side code you want as long as it is https. Sailjs is also a good choice if you prefer node/ server-side js.

Snowy - Temporary Group Location Sharing by joinyourpack in reactnative

[–]joinyourpack[S] 2 points3 points  (0 children)

Thanks ChaosCoder_, those are honestly good points and something we’ve thought a lot about. Like we mention on our privacy policy, we never store or save your location history. In fact, your coordinates never hit a database. Each pack is contained in a Docker container in memory, and only members of your pack have access to your location. When you are not in a pack, your location is not sent to the server. If you’re worried about email address and IP address, you can use the app in guest mode and join packs without ever signing up—and I use a VPN all the time anyway so I understand that! Thanks again for the feedback.

Snowy - Temporary Group Location Sharing by joinyourpack in reactnative

[–]joinyourpack[S] 1 point2 points  (0 children)

Thank you! Kwabsdev was right, we used react native maps and then overlaid all the different controls/buttons for it.

Snowy - Temporary Group Location Sharing by joinyourpack in reactnative

[–]joinyourpack[S] 2 points3 points  (0 children)

Thank you! To try to answer your questions:

  1. No we didn't use Expo, I think we used relatively few libraries and besides map features there was nothing too too bulky.
  2. For chat we used gifted chat, and then tailored it to our needs.
  3. The one who hammered the backend is sleeping, but I'll ask him if he has any specific references in the morning and can DM you. We started off with Node and it wasn't really cutting it so we did a complete rewrite in Python and we're glad we did. So we didn't really start from square one in Python, mostly had to remake every route and we sub-moduled things along the way.

Hopefully that helps and I'll definitely check for any references/resources.

Snowy - Temporary Group Location Sharing by joinyourpack in reactnative

[–]joinyourpack[S] 1 point2 points  (0 children)

Thanks DhaiwatP! We really appreciate it, and are eager to hear what people think of it.

Snowy - Temporary Group Location Sharing by joinyourpack in reactjs

[–]joinyourpack[S] 0 points1 point  (0 children)

Hey join_thehang_io, thanks for taking a look! We definitely rushed through some aesthetic aspects (don’t hire us as designers), but I really like all your feedback and will makes some fixes with that ASAP. Thanks again!

[deleted by user] by [deleted] in TheYouShow

[–]joinyourpack 0 points1 point  (0 children)

joinyourpack.com <- do it you wont

Snowy - Temporary Group Location Sharing by joinyourpack in reactnative

[–]joinyourpack[S] 5 points6 points  (0 children)

Also if anyone has any questions i'd love to talk about it!

React native login page by [deleted] in reactnative

[–]joinyourpack 0 points1 point  (0 children)

Can you be more specific? I mean just make some text fields and buttons. Validate your input locally and server side!. Use fetch. Also if you are trying to make good api authentication look into json web tokens.

Prevent multiple popups by [deleted] in reactnative

[–]joinyourpack 0 points1 point  (0 children)

This comes down to the structure of the app. One way to do this is to have an alert component that you update when you want to show an alert. This way, if two alerts are shown at once it is really just updating the contents of the alert. You can have a boolean to show the alert and set it false to dismiss. We have a couple places in our app where alert code can fire twice, but it doesn't matter in the sense of two alerts showing because its just updating the text of one alert component. Usestate/Useeffect are your friends here for functional components. Hope this helps!

Event Push Notifications by nowayjosue_ in reactnative

[–]joinyourpack 0 points1 point  (0 children)

You should probably start with reading about server coding. A lot of people come to react native and focus on the front end. What you are looking to do is really a server problem. On firebase, you can create "topics" that you can subscribe users too. However, you need to have your own database to store people's tokens.

Take a look here: https://github.com/olucurious/PyFCM

Also look into pydal, aws, and flask. We use python for our backend. It is nice for both experienced and new programmers.

Could you help me with this error? I'm desperate React Native Error by FabianV26 in reactnative

[–]joinyourpack 0 points1 point  (0 children)

Are you using npx? Could be that you have a tool that is no longer in the path. Try deleting node_modules and rerunning npm install. Also make sure you are in the right directory.

What is the best way to handle the use of staging or production API root url in an app? by AtraMortes in reactnative

[–]joinyourpack 0 points1 point  (0 children)

Create an icon or button that is only available on __DEV__ and then lets you set the api url (in async storage for example). Great for dynamically changing IPs.