-
Notifications
You must be signed in to change notification settings - Fork 29
Description
Hello,
Just finished reading chapter 8 in the PDF book. Instead of typing all the code in for the PetScrapbook project, I decided to download it as a ZIP and run it. There seem to be a few issues with the code as provided.
ISSUE 1:
When you add a new scrapbook entry (or modify the existing one), when you tap "Done" it will navigate back in the wrong direction. It will navigate towards the right as opposed to towards the left. Also, the page you navigate back to, is completely blank, and the app will crash when you add a new list item entry.
STEPS:
(I am using the iOS emulator)
- Start the app.
- On the Home page, tap "Continue".
- On the Pet Scrapbook list page, either tap the existing empty "undefined Scrapbook Page" entry, or tap "Add" to create a new one.
- In the settings page, define your settings.
- Tap "Done".
- The page will slide out towards the left (so it will give you the illusion as if you are moving towards the next (right) page.
- The page you arrive to will be completely blank, but there will be an "Add" button in the ActionBar on the right.
- Tap the "Add" button in the top right.
- The app will crash.
ISSUE 2:
On the settings page, the "Done" button is off the screen and cannot be seen on a 4.5" emulator (iOS 5S). I had to wrap the "ScrapBook Update Page" into a in order to see the "Done" button. No biggie, but still.
MY SETUP:
Using the iPhone 5S emulator for iOS 9.3.5 (since I have older devices they can only be updated up to iOS 9.3.5, so I'm using "matching" emulators for the iOS version).
OS X 10.11.6 El Capitan
Xcode 8.2.1 (this is the last Xcode version that runs on El Capitan 10.11.6)
Android Studio 3.0.1
JRE 1.8.0-152
tns 3.3.1