Home / Companies / Ionic / Blog / June 2019

June 2019 Summaries

7 posts from Ionic

Filter
Month: Year:
Post Summaries Back to Blog
Ionic Auth Connect offers a streamlined solution for adding single sign-on and secure user authentication to Ionic apps, simplifying the implementation of authentication flows with services like Microsoft Active Directory, AWS Cognito, and Auth0. It addresses common security pitfalls associated with traditional authentication methods, such as the use of embedded browsers that can be vulnerable to attacks, by employing native system components that protect user data. Auth Connect provides a unified API for integrating multiple auth providers, allowing developers to avoid vendor lock-in and easily switch authentication providers without altering application logic. This tool ensures that developers stay current with security best practices and standards, offering ongoing updates, security patches, and support from Ionic, making it a valuable resource for teams seeking to enhance the security and flexibility of their authentication processes.
Jun 26, 2019 1,145 words in the original blog post.
Flutter and Ionic are two prominent cross-platform development frameworks, each with distinct approaches yet sharing a common vision of enabling developers to create high-performance apps across mobile, desktop, and web platforms. While Ionic utilizes open web technologies such as HTML, CSS, and JavaScript, allowing developers to leverage existing web standards and tools, Flutter operates within a self-contained ecosystem using the Dart language and a custom rendering engine, prioritizing mobile performance over web compatibility. This dichotomy highlights a choice for developers between embracing web standards with Ionic or committing to Flutter's unique ecosystem for potentially superior mobile performance. The comparison suggests that developers should evaluate both frameworks based on their philosophies, deployment plans, and current or desired skills, with further details available in a comprehensive guide offered by the authors.
Jun 13, 2019 687 words in the original blog post.
The Ionic Show made a return after over 500 days with a comprehensive episode discussing the latest developments in the Ionic ecosystem, featuring hosts Max and Ben alongside guests Josh Thomas and Matt Netkow. The episode covered key updates including the release of Ionic 4, which leveraged Web Components for improved performance, Stencil One's focus on stability and small bundle sizes, and the launch of Capacitor 1.0, with insights into its development and current app usage. The show also celebrated Angular 8's release and discussed the benefits of upgrading Ionic Angular apps to Ionic 4, while providing a community Q&A segment and shout-outs to notable apps built with Capacitor. The episode was presented as a lengthy discussion video or podcast, suitable for long listening sessions, and aimed to engage the Ionic community with its in-depth coverage and light-hearted moments.
Jun 12, 2019 383 words in the original blog post.
Capacitor, an initiative by Ionic, allows developers to create native-like web apps that can run on iOS, Android, Electron, and the web as Progressive Web Apps by primarily using a browser for development. This approach enables developers to leverage traditional desktop web development tools, enhancing development speed by reducing the need for recompilation or deployment to simulators or devices. Capacitor supports the creation of Web Plugins, which can be used to mock native functionalities unavailable in a browser setting, facilitating seamless development and testing processes. An example provided demonstrates how to implement a basic web plugin to simulate a native feature for testing purposes, ensuring consistent cross-platform functionality. This capability is particularly useful for integrating third-party SDKs that are native to specific platforms while maintaining a single codebase. Web Plugins not only aid in mocking native functionalities but also enable developers to build consistent cross-platform APIs, supporting a smooth development experience across different environments.
Jun 10, 2019 775 words in the original blog post.
In a post by Max Lynch, a state management pattern for Ionic React using React Hooks is explored, highlighting how React's native hooks, useContext and useReducer, can be employed to create a centralized and efficient state management system. This approach allows components to access global state and dispatch actions to a reducer function, which updates the state and triggers component re-renders. The author demonstrates how to implement this pattern in a single file and suggests enhancements like logging and state persistence using localStorage for debugging and maintaining state across sessions. While acknowledging that this method is suitable for small to medium-sized apps, Lynch notes that more complex apps might benefit from established libraries like Redux. The pattern is praised for its simplicity and adaptability, having been successfully applied in multiple Ionic React applications.
Jun 08, 2019 1,165 words in the original blog post.
Stencil One, released as version 1.0.0, marks a significant milestone for the Ionic team by providing a framework-agnostic component library that utilizes Web Components to promote universal compatibility across various frameworks like Angular, React, and Vue. Originally developed to address limitations tied to Angular, Stencil leverages Custom Elements and offers features such as async rendering and reactive data-binding, while maintaining small bundle sizes and fast performance. It provides developers with a seamless experience through its build-time tool, integrated dev server, and live reload capabilities. The open-source project has gained popularity, particularly for creating Design Systems, as it allows companies to build custom component libraries compatible with any framework, thus ensuring broad adoption and enhancing performance. As the project evolves, the Stencil team focuses on maintaining stability, enhancing documentation, building demos, and further engaging with the community to foster growth and transparency.
Jun 06, 2019 1,779 words in the original blog post.
The latest release of the Ionic CLI, version 5.0.0, introduces several significant updates, including beta support for Ionic React, which allows developers to create applications using React within the Ionic framework. To update to this version, developers must have NodeJS version 10 installed and can upgrade the Ionic CLI via npm along with additional tools like Cordova Resources and Native Run, which facilitate local resource generation and app deployment to devices. The new version also sets localhost as the default host for various commands and introduces a required flag for using DevApp. The community has actively contributed to the development of Ionic React, and the Ionic team encourages developers to explore the beta, which offers starter templates for various app types. Official documentation is forthcoming, but those interested in trying Ionic React should be familiar with React's fundamentals.
Jun 04, 2019 587 words in the original blog post.