Twitter 5
Created on Sep 06, 2020

Introduction

Twitter is a very popular social networking that needs no introduction. I myself (@mrhieu) use Twitter everyday and learned a lot from the links being shared between the tweets.

I always take it serious to keep the code quality high with clean and self-explained code. When purchasing this, you also get my latest "helper" snippets inside the package to make it more fun to code.

What's in the package

  • Ionic Project source code: based on the folder structure generated with Ionic CLI
  • No Backend code: this is just the UI, not a fully functional app. Data is mostly static dummy unless mentioned, e.g GIF search uses the real Giphy API

Preview

Download APK to preview the theme:

enter image description here twitter-5_demo.apk

Watch on Youtube

See how it works on Youtube: https://youtu.be/UxrP1CZvtqQ

Happy prototyping!

enter image description here

Changelog

Note: All updates are for Ionic 5

Last updated: Sep 6 2020

v1 (Sep 6 2020)

First version

Screens

  1. Welcome
  2. Login
  3. News Feed (Home)
  4. Post Detail
  5. New Tweet
  6. Fullscreen photo viewer
  7. Search (Trends, Search Results, Search Options)
  8. Notifications
  9. Messages
  10. Chat UI
  11. My Profile
  12. Settings

And Dark Mode for all screens!

BTW this is the component I like the most in My Profile page: header

Run locally

1.Install Ionic environment

$ npm install -g @ionic/cli@6.12.0

2.After purchasing, download the zip file containing the entire demo app and unzip

3.Go inside the extracted folder

4.Install all dependencies

$ npm install

5.Start local server

$ ionic serve

6.Your default browser should now automatically open the template

Notes

1.Modify the default theme colors to match Twitter's colors in src/sass/variables.override.scss

:root {
  /** primary **/
  --ion-color-primary: #1da1f2;
  --ion-color-primary-rgb: 29,161,242;
  --ion-color-primary-contrast: #ffffff;
  --ion-color-primary-contrast-rgb: 0,0,0;
  --ion-color-primary-shade: #1a8ed5;
  --ion-color-primary-tint: #34aaf3;
  ...

2.I personally like the look of the app on iOS so I forced the theme to iOS mode. You can change that configuration to suit your need

# in src/app/app.module.ts
    IonicModule.forRoot({
      mode: 'ios',
      backButtonText: '',
    }),
    ...

Build with capacitor

First of all, make sure that you can Run Locally (see the instruction above).

# build web asset (to folder www)
$ ionic build

# add platform (ios or android)
$ ionic capacitor add ios

# prepare app icons and splash images
$ npm run resources

# copy web assets into the native project
$ ionic capacitor copy ios

# open Xcode, then build the native app from there
$ ionic capacitor open ios

# OR run in live-reload mode
$ ionic capacitor run ios -l --external

See more:

Ionic - iOS Development

Ionic - Android Development

Migrating a Web App Using Cordova to Capacitor

Contact

If you need any technical support or have any questions, don't hesitate to send me a message: mr_hie@yahoo.com

Homepage: https://www.takethatdesign.com

[PROMO] Ionic 4 Bundle: 4 in 1 - Best Seller

My best Ionic 4 products (3 themes + 1 plugin) are now on sale with promotion code BUNDLE4. Please click the button below for more information.

Purchase Externally

More Like This

┐( ˘_˘ )┌
2024, by Hieu Pham