Top Related Projects
Native features for mobile apps built with Cordova/PhoneGap and open web technologies. Complete with TypeScript support.
Quick Overview
The ionic-conference-app is a demo application showcasing the capabilities of the Ionic Framework. It simulates a conference app with features like schedule viewing, speaker information, and map integration. This project serves as a reference for developers looking to build complex, feature-rich mobile applications using Ionic.
Pros
- Demonstrates best practices for Ionic app development
- Includes a wide range of Ionic components and features
- Provides a realistic, production-like application structure
- Regularly updated to reflect the latest Ionic version
Cons
- May be overwhelming for beginners due to its complexity
- Some features might be overkill for simpler app requirements
- Requires understanding of Angular for full comprehension
- Limited documentation on the app's architecture and design decisions
Code Examples
// Example of using Ionic components in a page
@Component({
selector: 'page-schedule',
templateUrl: 'schedule.html',
})
export class SchedulePage {
// ...
async presentFilter() {
const modal = await this.modalCtrl.create({
component: ScheduleFilterPage,
componentProps: { excludedTracks: this.excludedTracks }
});
await modal.present();
const { data } = await modal.onWillDismiss();
if (data) {
this.excludedTracks = data;
this.updateSchedule();
}
}
}
// Example of using Ionic storage
@Injectable({
providedIn: 'root'
})
export class UserData {
constructor(
public storage: Storage
) {}
async setUsername(username: string): Promise<void> {
await this.storage.set('username', username);
}
async getUsername(): Promise<string> {
return await this.storage.get('username');
}
}
// Example of using Ionic navigation
@Component({
selector: 'page-speaker-list',
templateUrl: 'speaker-list.html'
})
export class SpeakerListPage {
// ...
goToSpeakerDetail(speaker: any) {
this.router.navigateByUrl(`/app/tabs/speakers/speaker-details/${speaker.id}`);
}
goToSpeakerTwitter(speaker: any) {
this.inAppBrowser.create(
`https://twitter.com/${speaker.twitter}`,
'_blank'
);
}
}
Getting Started
To run the ionic-conference-app:
-
Clone the repository:
git clone https://github.com/ionic-team/ionic-conference-app.git -
Navigate to the project directory:
cd ionic-conference-app -
Install dependencies:
npm install -
Run the app in the browser:
ionic serve
This will start the development server, and you can view the app in your browser at http://localhost:8100.
Competitor Comparisons
Native features for mobile apps built with Cordova/PhoneGap and open web technologies. Complete with TypeScript support.
Pros of awesome-cordova-plugins
- Comprehensive collection of Cordova plugins with TypeScript support
- Regular updates and community contributions
- Easy integration with Ionic and other Cordova-based projects
Cons of awesome-cordova-plugins
- Not a complete app template, requires additional setup
- May include unnecessary plugins for specific projects
- Potential compatibility issues with certain Cordova versions
Code Comparison
awesome-cordova-plugins:
import { Geolocation } from '@awesome-cordova-plugins/geolocation/ngx';
constructor(private geolocation: Geolocation) { }
this.geolocation.getCurrentPosition().then((resp) => {
// resp.coords.latitude
// resp.coords.longitude
}).catch((error) => {
console.log('Error getting location', error);
});
ionic-conference-app:
import { Geolocation } from '@capacitor/geolocation';
async getCurrentPosition() {
const coordinates = await Geolocation.getCurrentPosition();
console.log('Current position:', coordinates);
}
The awesome-cordova-plugins repository focuses on providing a curated list of Cordova plugins with TypeScript support, making it easier for developers to integrate native functionalities into their Ionic or Cordova projects. On the other hand, the ionic-conference-app serves as a complete demo application showcasing Ionic framework features and best practices.
While awesome-cordova-plugins offers a wide range of plugin options, it requires additional setup and may include unnecessary plugins for specific projects. The ionic-conference-app provides a more opinionated and ready-to-use structure but may be less flexible for custom requirements.
Convert
designs to code with AI
Introducing Visual Copilot: A new AI model to turn Figma designs to high quality code using your components.
Try Visual CopilotREADME
Ionic Angular Conference App
This is a kitchen-sink demo application built with Ionic Framework and Angular. It showcases a wide range of Ionic components and features in the context of a fictional tech conference app.
Note: There is no actual Ionic Conference. This project is purely for demonstration purposes.
ð Try the Live Demo
ð§± Framework Variants
This app is also available in other frameworks:
- ð Ionic React Conference App
- ð Ionic Vue Conference App
- â You're viewing the Angular version
⨠Features
- Browse conference schedule with filtering
- View speaker bios and session details
- User authentication and profile management
- Interactive maps for venue navigation
- Push notifications support
- Dark/Light mode toggling
- Cross-platform support: iOS, Android, and Web
âï¸ Getting Started
Prerequisites
- Node.js (LTS version recommended) â Download
- npm (included with Node.js)
- Ionic CLI â Install globally:
npm install -g @ionic/cli - Angular CLI â Install globally:
npm install -g @angular/cli
Installation
- Clone the repository:
git clone https://github.com/ionic-team/ionic-conference-app.git - Navigate into the project:
cd ionic-conference-app - Install dependencies:
npm install - Start the dev server:
ionic serve - Open your browser to:
http://localhost:8100
ð¤ Contributing
We welcome contributions! Please see our Contributing Guide for details on how to submit pull requests, report issues, and contribute to the project.
ð License
This project is licensed under the MIT License.
Top Related Projects
Native features for mobile apps built with Cordova/PhoneGap and open web technologies. Complete with TypeScript support.
Convert
designs to code with AI
Introducing Visual Copilot: A new AI model to turn Figma designs to high quality code using your components.
Try Visual Copilot