| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Important
We have transitioned the application from Angular to React Native. Please visit the new repo at langx/langx for the latest updates.
Note
This repo will not be maintaned anymore. We will keep this repo for historical reasons and for the community to refer to. Thank you for your support! ❤️
LangX is an application built with Angular and Ionic that helps users exchange different languages by connecting them with native speakers. Users can join chat rooms with other participants and practice their language skills in a fun and interactive way. The app is available on web, iOS, and Android platforms. It uses @appwrite for the back-end. For a detailed list of technologies used, please refer to the Tech Stack section.
🎉 Hello Everyone! We're excited to announce that our official links here! We'd love for you to join us and give us a follow! Welcome aboard! 🚀
💻 Website: https://langx.io/
📲 Apps: https://get.langx.io
🪙 Token
📊 Insights: https://insight.langx.io
🟢 Status : https://status.langx.io/
🔧 Backlog: https://backlog.langx.io/
✉️ Mail: hi@langx.io
To install the project locally, follow these steps:
That's it! You should now be able to see the project running locally on your machine. If you encounter any issues during the installation process, please refer to the project's documentation or open an issue on the projects GitHub repository.
To push Appwrite Cloud Functions, follow these steps:
That's it! You should now be able to push your Appwrite Cloud Functions to Appwrite and use them in your app. If you encounter any issues during the process, please refer to the Appwrite documentation or open an issue on the Appwrite GitHub repository.
To use the project, follow these steps:
That's it! You should now be able to use the project to practice your language skills with other users. If you encounter any issues during the usage process, please refer to the project's documentation or open an issue on the project's GitHub repository.
Deep linking is a technique that allows an app to be opened to a specific UI or state, using a URL. This is useful for a variety of reasons, such as driving user engagement from web to app, or simply providing a better user experience.
Create a /src/.well-known directory in your project's src directory.
Inside the /src/.well-known directory, create a file named assetlinks.json
In the assestslinks.json file, add the following code to it:
[
{
"relation": ["delegate_permission/common.handle_all_urls"],
"target": {
"namespace": "android_app",
"package_name": "com.example.yourapp",
"sha256_cert_fingerprints": ["14:6D:E9:..."]
}
}
]Replace com.example.yourapp with your app's package name and replace 14:6D:E9:... with the SHA-256 fingerprint of your app's signing certificate.
"assets": [
"src/favicon.ico",
"src/assets",
{
"glob": "**/*",
"input": "src/.well-known",
"output": "/.well-known"
}
]Create a /src/.well-known directory in your project's src directory.
Inside the /src/.well-known directory, create a file named apple-app-site-association
In the apple-app-site-association file, add the following code to it:
{
"applinks": {
"apps": [],
"details": [
{
"appID": "TEAM_ID.BUNDLE_ID",
"paths": ["*"]
}
]
}
}Replace TEAM_ID.BUNDLE_ID with your app's Team ID and Bundle ID.
"assets": [
"src/favicon.ico",
"src/assets",
{
"glob": "**/*",
"input": "src/.well-known",
"output": "/.well-known"
}
]After following these steps, your Angular app should be set up to handle deep links on both Android and iOS devices.
For more information: https://capacitorjs.com/docs/guides/deep-links
In your project, you need to create a file named src/firebase-messaging-sw.js. This file will be responsible for handling Firebase messaging in the service worker.
Here's a breakdown of the code in this file:
// Give the service worker access to Firebase Messaging.
// Note that you can only use Firebase Messaging here. Other Firebase libraries
// are not available in the service worker.
importScripts("https://www.gstatic.com/firebasejs/8.10.1/firebase-app.js");
importScripts("https://www.gstatic.com/firebasejs/8.10.1/firebase-messaging.js");
// Initialize the Firebase app in the service worker by passing in
// your app's Firebase config object.
// https://firebase.google.com/docs/web/setup#config-object
const firebaseApp = initializeApp({
apiKey: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
authDomain: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
projectId: "xxxxxxxxxxxxxxxxxx",
storageBucket: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
messagingSenderId: "xxxxxxxxxxxx",
appId: "x:xxxxxxxxxxxx:web:xxxxxxxxxxxxxxxxxxxx",
});
// Retrieve an instance of Firebase Messaging so that it can handle background
// messages.
const messaging = firebase.messaging();This code initializes your Firebase application with your Firebase configuration. Replace the "xxxxxxx" with your actual Firebase configuration values.
This line retrieves an instance of Firebase Messaging so that it can handle background messages.
We welcome contributions to the project! For detailed instructions on how to contribute, please refer to the CONTRIBUTING.md file.
android/app/google-services.json
ios/App/App/GoogleService-info.plist
google-services.json is a configuration file that contains information about a Firebase project, such as the project's API key, database URL, and storage bucket. It is used by Android apps to connect to Firebase services, such as Firebase Authentication, Firebase Realtime Database, and Firebase Cloud Messaging.
The content of the Firebase config or object can be considered as public, including the app's platform-specific ID (Apple bundle ID or Android package name) and the Firebase project-specific values, like the API Key, project ID, Realtime Database URL, and Cloud Storage bucket name. Given this, use Firebase Security Rules to protect your data and files in Realtime Database, Cloud Firestore, and Cloud Storage.
GoogleService-info.plist is a configuration file that contains information about a Firebase project, such as the project's API key, database URL, and storage bucket. It is used by iOS apps to connect to Firebase services, such as Firebase Authentication, Firebase Realtime Database, and Firebase Cloud Messaging.
To secure the GoogleService-info.plist file, you can ensure that it is not publicly accessible. This can be done by adding the file to your app's .gitignore file to prevent it from being committed to your repository. Additionally, you can use Firebase Security Rules to restrict access to your Firebase project's resources, such as the Realtime Database and Cloud Storage, to only authorized users.
It is also important to keep your Firebase project's API key and other sensitive information secure. You can use a password manager to securely store your API key and other credentials, and avoid hardcoding them in your app's code.
For more information on how to secure your Firebase project, please refer to the following resources:
This project is licensed under the BSD-3-Clause License - see the LICENSE file for details.
| Back | FazBrowse Home | New Git URL |