/Bettergram-iOS

Bettergram iOS Development

Primary LanguageObjective-C

Bettergram

We've built an improved version of Telegram Messenger with super helpful features our users absolutely love.

Bettergram Explained In 60 Seconds

How It Works

Bettergram uses the Telegram API and open source code with a few modifications to provide users with a more organized interface. Just like Telegram, you can use your existing account or create a new account through their servers.

Why We Built It

Telegram is an essential part of our lives as tech entrepreneurs. Over 200+ million monthly active users love the app, but we believed it could be better. Thankfully, Telegram is 100% open source which allowed us to build an improved UI/UX on top of their API.

Setup Project on the Mac

  1. Clone the iOS project with its submodules using SSH way

    $ git clone --recursive git@github.com:bettergram/Bettergram-iOS.git
    

    If you want to update the submodules in already cloned repository use the following command:

    $ git submodule update --init --recursive
    

    If you want to update the submodules to the latest versions you can use the following command:

    $ git submodule update --recursive --remote
    
  2. Add config.h file on the level above the root project's folder

    Bettergram-iOS/... //all project's files in the root
    config.h // Required to add
    

    config.h contains next lines:

    #define SETUP_TELEGRAM_API_ID(apiId) apiId = ...;
    #define SETUP_TELEGRAM_API_HASH(apiHash) apiHash = @"...";
    
    #define SETUP_MAILCHIMP_API(key) key = @"...";
    #define SETUP_MAILCHIMP_CRITICAL_NEWSLETTER_LIST_ID(key) key = @"...";
    #define SETUP_MAILCHIMP_CRYPTO_NEWSLETTER_LIST_ID(key) key = @"...";
    
  3. Create Debug and Release configurations for SSignalKit (this's a submodule we can't push it)

  4. To build the project for a real device or to archive change Signing Automatically & Team None for SSignalKit and MtProtoKit (these are submodules so we can't push it)