Skip to content
This repository has been archived by the owner on Dec 2, 2024. It is now read-only.

Mobile App MVP using Firebase #1

Draft
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

EmperorNumerius
Copy link

@EmperorNumerius EmperorNumerius commented Jul 6, 2024

Pull Request

Description:

@aramshiva aramshiva added the 💻 aspect: code Related to code implementation or modification. label Jul 6, 2024
@aramshiva
Copy link
Member

aramshiva commented Jul 6, 2024

this works with matrix? how does and where does it store messages?

@jaspermayone
Copy link
Contributor

This will work with our protocol

@jaspermayone
Copy link
Contributor

@Luke-Oldenburg plz review protocol wise

Copy link

@Luke-Oldenburg Luke-Oldenburg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I get that this is just a MVP so I guess it's okay that it's firebase but can we at least get expo setup? That's a pretty big deal. Also rename all the GiftedChat stuff to Purple Bubble.

.gitignore Outdated
#
.DS_Store

secrets.env

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rename to *.env or just .env and rename the file

.gitignore Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
app.json Outdated Show resolved Hide resolved
firebase.js Outdated Show resolved Hide resolved
package.json Outdated
@@ -0,0 +1,47 @@
{
"name": "GiftedChatApp",

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rename this.

@Luke-Oldenburg
Copy link

Ultimately it's up to @jaspermayone on whether it's merged. Since I'm going to try to finish the reference implementation this weekend it would be nice if the MVP used the protocol. It's not really displaying OUR product without that.

@Luke-Oldenburg
Copy link

I know Sam's on vacation right now but he knows more about react native development than me so I'm tagging him for review.

@Luke-Oldenburg
Copy link

Also please add a PR description and remove the closes issue part once you perform these changes.

Copy link
Contributor

@jaspermayone jaspermayone left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left lots of comments, app name and icon needs to be changed.

App also needs to move to Expo.

.bundle/config Outdated
@@ -0,0 +1,2 @@
BUNDLE_PATH: "vendor/bundle"
BUNDLE_FORCE_RUBY_PLATFORM: 1
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ruby????

.prettierrc.js Outdated
Comment on lines 1 to 7
module.exports = {
arrowParens: 'avoid',
bracketSameLine: true,
bracketSpacing: false,
singleQuote: true,
trailingComma: 'all',
};
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't have a semantic style for code we use right now, let's remove this.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It could stay for now and we discuss it at a meeting later on it. It'd be nice if each project was at least consistent in itself.

.eslintrc.js Outdated
Comment on lines 1 to 4
module.exports = {
root: true,
extends: '@react-native',
};
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't have a semantic style for code we use right now, let's remove this.

.watchmanconfig Outdated
@@ -0,0 +1 @@
{}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is this file and why do we need it?

Gemfile Outdated
Comment on lines 1 to 9
source 'https://rubygems.org'

# You may use http://rbenv.org/ or https://rvm.io/ to install and use this version
ruby ">= 2.6.10"

# Cocoapods 1.15 introduced a bug which break the build. We will remove the upper
# bound in the template on Cocoapods with next React Native release.
gem 'cocoapods', '>= 1.13', '< 1.15'
gem 'activesupport', '>= 6.1.7.5', '< 7.1.0'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we are using react, why do we have a gemfile???

<application
android:usesCleartextTraffic="true"
tools:targetApi="28"
tools:ignore="GoogleAppIndexingWarning"/>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's the specific reason for ignoring this?

Comment on lines 12 to 22
<activity
android:name=".MainActivity"
android:label="@string/app_name"
android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|screenSize|smallestScreenSize|uiMode"
android:launchMode="singleTask"
android:windowSoftInputMode="adjustResize"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Activity?

<uses-permission android:name="android.permission.INTERNET" />

<application
android:name=".MainApplication"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this not be our app name?

@@ -0,0 +1,22 @@
package com.giftedchatapp
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

change this name please!

* Returns the name of the main component registered from JavaScript. This is used to schedule
* rendering of the component.
*/
override fun getMainComponentName(): String = "GiftedChatApp"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

change this name please!

@aramshiva
Copy link
Member

Do we want to use firebase? For a privacy/secure company I don't think it's a good idea

@Luke-Oldenburg
Copy link

@aramshiva we're not at all... it's a demo just of the ui. Look at all the protocol dev?

@Luke-Oldenburg Luke-Oldenburg changed the title the app as an mvp from a tuotorial lol Mobile App MVP using Firebase Jul 7, 2024
spent rest of time reading purple bubble api
@Luke-Oldenburg
Copy link

@EmperorNumerius the files shouldnt be nested in a PurpleBubble folder. They should be in the root directory. The code should be in a src folder though.

@Luke-Oldenburg
Copy link

@EmperorNumerius all of those files from the root of the project should not have been deleted.

@jaspermayone
Copy link
Contributor

+1 on what luke said!

Copy link
Contributor

@jaspermayone jaspermayone left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deleted files need to be readded, and all the contents of PurpleBubble need to be moved to the root directory.

@jaspermayone
Copy link
Contributor

@EmperorNumerius you also need to address/resolve all the comments from the first round of comments.

@EmperorNumerius EmperorNumerius marked this pull request as draft July 9, 2024 23:16
@Luke-Oldenburg
Copy link

Is chatscope advanced enough for our purposes? The frontend should really support markdown and previewing files from links or at least showing it as a different blob from the main message like in iMessage.

@EmperorNumerius
Copy link
Author

Is chatscope advanced enough for our purposes? The frontend should really support markdown and previewing files from links or at least showing it as a different blob from the main message like in iMessage.

then i need to use Stream Chat

Copy link

@polypixeldev polypixeldev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jaspermayone
Copy link
Contributor

hi sam

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
💻 aspect: code Related to code implementation or modification.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants