Skip to content
This repository has been archived by the owner on Jan 16, 2020. It is now read-only.

mozilla-lockwise/lockbox-ios-fxa-sync

 
 

Repository files navigation

lockbox-ios-fxa-sync

This is intended to be the FxA/Sync library pulled out of Firefox for iOS for use in Lockbox iOS.

The intent is that this will be useful:

  • to ship a v1.0 of lockbox
  • to define the APIs for whatever comes next
  • to be easily discarded when whatever comes next, comes next.

It is a fairly mechanical extraction, with a focus on making passwords/logins work, and changing as little code as possible.

Additionally, this is fairly early on in the project lifecycle.

As such, quite a lot of naming is not yet nailed down.

Building

lockbox-ios-fxa-sync requires carthage.

The simplest route to getting this is via brew package manager.

brew update
brew install carthage

Once you have used the package manager to get the package manager, you can use it to manage the packages.

Finish setup with:

./bootstrap.sh

# Opens Xcode.
open fxa-ios.xcodeproj

Running the demo app

Run the target fxa-ios on a simulator.

  • Hit Login
  • Login with some Firefox for iOS credentials
  • Watch for the yellow messages at the bottom of the screen.
  • Hit Logout.

The messages in the demo app are the sync status.

Importing with Carthage.

TBD.

License

lockbox-ios-fxa-sync is currently licensed under the Apache License v2.0. See the LICENSE file for details.

Releases

No releases published

Packages

No packages published

Languages

  • C 90.6%
  • Swift 7.1%
  • C++ 1.4%
  • Objective-C 0.9%
  • CMake 0.0%
  • Shell 0.0%