Boost Your Mobile Apps: Appery.io and ChatGPT Integration for Superior User Experience

Hello everyone!

Have you ever wished mobile app development could be more straightforward? Appery.io, a powerful low-code app-building platform, can make your dreams come true—especially when you integrate it with ChatGPT. Combining Appery.io and ChatGPT accelerates the development process and simplifies adding complex business logic to your applications.

Why Use Appery.io with ChatGPT?

Appery.io‘s intuitive builder lets you quickly create your app’s user interface (UI). And with simple tools, you can seamlessly integrate ChatGPT, an advanced AI from OpenAI. By using ChatGPT, you can add sophisticated features to your app without diving deep into complex coding.

A Simple Integration Guide

Here’s a simplified walkthrough of how you can get started:

1. Create a New App

First, open Appery.io and create a new app. In a blank Ionic app, click CREATE NEW > Page to generate a page with a predefined GPT-4o screen layout based on GPT-4o technology.

2. Obtain an API Key

For this integration, you’ll need an API key from the OpenAI portal. Just click the provided link, generate your API key, and copy it.

3. Insert Your API Key

Go to Project > Model and Storage > Storage tab, and paste your copied API key. This step is essential for enabling the AI technology.

4. Build Your UI

Next, open Screen1 and create a simple UI to test your app’s business logic:

Textarea Component: For entering questions, define the [(ngModel)] value as “question”.

Button Component: Add a button for processing requests and name it “process”. Define its (click) method as process().

Text Component: This will display the response from ChatGPT. Define its Text value as {{result}}.

5. Add Business Logic

Navigate to the CODE tab and add two variables: `question` and `result`. Also, define the “process” function as an asynchronous method.

this.result = await this.$v.openai.aioRequest(this.question);

 

When you included the screen layout earlier, the OpenaiModule (check TypeScript > Module) was automatically added. This module has the `openai.aioRequest` method, which you’ll use in your “process” function.

6. Test Your App

Save your app and start testing! Ask a question and see how ChatGPT responds.

7. Enhance Business Logic to Get Response in the Form of an Array 

Let’s say you want a response in the form of an array.

To get different output format response, for example, an array, you’ll need to modify your function with defining the format parameter.

this.result = await this.$v.openai.aioRequest(this.question, {

    format: {

            arr: [“”, “”, “”]

        }

    });

Also, adjust your UI accordingly by adding an *ngFor attribute with the value set to let obj of result?.arr to the Text component and replacing its {{result}} with {{obj}}.

When testing, enter a request like, “Provide a list of ten healthy foods” and click the button to process it. ChatGPT will return the requested list formatted correctly. And just like that, with minimal coding, you’ve added valuable business logic to your simple app!

That’s all for now. To discover how Appery.io and ChatGPT can streamline mobile app development by integrating AI-powered business logic explore our YouTube video guide:

Remember to stay tuned – in our next video, we’ll demonstrate how to add image processing functionality.

How to Get Access to the List of Contacts in an Ionic App

Have you ever wondered how to make you Ionic app access the list of contacts of your device?

This blog post walks you through the steps of creating an Ionic app that can do that. Also, if you prefer watching video guides, you can follow this YouTube tutorial to create such an app:

Getting Started with Your Ionic App

First, we need to create a brand-new Ionic app. For this tutorial, we’re using the Appery.io platform, which makes the development process straightforward and efficient.

1. Create a New App:

Open Appery.io and click Create new app.

Name your app and confirm. This action creates a blank Ionic app with a predefined screen layout named Contacts.

2. Adding the Contacts Page:

Add this Contacts page layout to your app and adjust the routing to make sure it points correctly to this page.

Reviewing & Testing Your App

Your app is now ready to display contacts. This page will show names, phone numbers, and pictures of contacts. Let’s click TEST to quickly preview the app.

You can also preview what the app looks like and how it functions by using the Appery.io Tester, a native app for testing. It’s user-friendly and works perfectly!

How It Works Behind the Scenes

Now, let’s go deeper into the technical step-by-step process to understand how everything works:

Cordova Plugins:

Under the Project > App settings > Cordova plugins tab, you’ll see that the app uses the Cordova Contacts plugin, which has been automatically imported. This plugin helps fetch the contacts.

Ionic Contacts Wrapper

We utilize the Ionic Contacts wrapper for better integration. You can check its detailed documentation page if you wish to dive deeper into this.

Setting Up Variables

Open the Contacts page’s CODE tab to see the variables that were added automatically:

– `contacts`: Returns the contact list.

– `keyword`: Enables filtering.

– `SAMPLE_AVATAR`: Displays a sample picture. You can upload your custom one by using the Media Manager, if needed.

– `SAMPLE_CONTACTS`: Provides a sample list for testing in the browser.

Displaying Contacts List in the App

Now, let’s scroll to the Functions section to see how the contacts list is added in our code.

If the app runs in a browser, it uses the sample contacts from the variable above. But if the app is run on a real device, it accesses the actual contacts list via the predefined `contacts` variable.

Creating a User-Friendly UI

Here’s how to make the contacts list visually appealing and easy to navigate:

List Component:

Uses ListItem with the *ngFor attribute to iterate through the contact list and display each contact’s information.

Filtering Contacts:

The *ngModel keyword in the Search component allows users to filter contacts by name.

Using Selections:

The app lets users select contacts easily. Selected contacts have the selected property set to true.

Conclusion

And that’s how to get access to the list of contacts in an Ionic app! This straightforward guide aimed to simplify the technical aspects and provide a clear path for even beginners. Now you can easily fetch and display contacts in your Ionic apps.

Happy coding!

Add Text Recognition to Your Mobile App Easily

Hello everyone!

Welcome to an exciting journey where we’ll show you how to add text recognition to your mobile app using the Appery.io Text Recognition plugin. Our new step-by-step video guide is designed to make everything simple and clear, even if you’re new to this technology.

In this video, you will be guided on how to:

  1. Import the Text Recognition plugin to your app
  2. Update default routing
  3. Test your app

Also, you will learn what modes come with the plugin:

Static Text Recognition:

  • Echo mode
  • Camera mode
  • Gallery mode

Real-Time Text Recognition: 

  • 10-second recognition
  • Continuous recognition

After watching the video guide, you will understand the app structure and also get the code breakdown to see the full picture of what’s behind the plugin.

Ready to Add Text Recognition to Your App?

To implement this feature, activate the Appery.io Text Recognition Cordova plugin in your project and you are ready to go!

And that’s it for now! Thanks for following along. We hope this guide helps you add robust text recognition to your mobile app.

Happy coding!

Unlock Real-Time Communication with WebSockets on Appery.io

Introduction to WebSockets with Appery.io

Have you ever wondered how apps send updates in real-time? The magic happens with WebSockets. Today, we’ll show you how to add WebSockets to your apps using Appery.io. This low-code app-building platform makes it easy to create complex apps quickly. Note that this post supports our comprehensive video tutorial and if you are interested in details, you are welcome to watch it.

By following the steps below, you can easily enhance your app with real-time communication features using WebSockets and Appery.io. Exciting, right? Let’s get started!

Setting Up Your App

First, create an empty app in Appery.io. Then, go to the Catalog of Appery.io plugins and select the WebSocket Example plugin.

Before importing it, you can click the link to open its documentation page. You’ll see it contains the code for the WebSocket server. This server needs to be run somewhere. While real applications may use Amazon or Azure, we’ll use CodeSandbox for testing.

Using CodeSandbox

1. Create a new Devbox.

2. Select Node.js Server from the list of backend frameworks.

3. Name your Devbox and set its visibility to “Public”.

4. Install two npm modules: `express` and `socket.io`.

Now, let’s move to the next step.

Setting Up Your WebSocket Server

Copy the server code from the documentation page and paste it into your `index.js` file in CodeSandbox. If everything is correct, the server should start successfully.

Back to Appery.io

Return to the Appery.io project and click Import selected plugins with the WebSocket Example plugin checked. This plugin helps you integrate WebSockets into your app. But first, let’s test it.

Testing Your App

Go to the Project > Routing section and set “WebSocketScreen” as the default page.

Next, navigate to TypeScript > WebSocket and specify the URL of your WebSocket server obtained from CodeSandbox.

Now, run your app in different browsers like Google Chrome, Firefox, and Edge. Enter a test message and click the “Send” button.

Ready! The message should be delivered to all clients in real-time.

Conclusion

Now you’ve seen how to add Websockets to your apps using Appery.io. This post is a companion piece to our detailed video tutorial. The demo app isn’t a finished product but provides a solid template for building your own real-time communication features. Give it a try and unlock powerful networking capabilities in your applications!

Custom Domain Publishing Made Simple with Appery.io

Are you interested in mobile app development but concerned about the complexities of deploying your app? Look no further! Today, we’ll discuss custom domain publishing in the context of Appery.io, a user-friendly, low-code app-building platform. This feature allows you to seamlessly publish your Appery.io application on a custom domain with an automatically generated SSL certificate. This process eliminates the need for purchasing SSL certificates, saving you both time and money.

What is Appery.io?

Appery.io is an accessible, low-code platform designed for developing mobile apps. It stands out due to its ease of use and rapid development capabilities. Whether you’re an experienced developer or just starting your journey, Appery.io provides an intuitive interface for building high-quality applications quickly.

Why Choose Custom Domain Publishing?

1. Professional Appearance: Publishing your app on a custom domain provides a more professional look and feel.

2. Enhanced Security: The automatically generated SSL certificate ensures your app is secure without any additional costs.

3. Ease of Sharing: Custom domains make it easier for users to remember and access your app.

Step-by-Step Guide to Custom Domain Publishing

Here’s a simple guide to publishing an Appery.io application on a custom domain:

1. Enter Your Domain Name:

– If you have an existing domain, enter it in the designated field within the Appery.io platform Hosting section and click Publish.

– Follow the on-screen instructions for the next steps.

2. Don’t Have a Domain?

– Click on the provided link to purchase a domain from Google or another domain provider.

3. Configure DNS Settings:

– If you already own a domain, navigate to your Domain Registration Website.

– Click on the “Manage” button and access the DNS settings.

– Add a new record: specify the name and IP address you copied from the instructions.

4. Finalizing the Process:

– Retry the publish process if an error occurs; sometimes, new DNS records need a few minutes to propagate.

– Click Publish again. Once completed, your app will be available by default via HTTPS.

Viewing and Sharing Your Published App

Once your app is published, you can view it through the provided link. For sharing purposes, Appery.io offers a user-friendly interface that makes your app more appealing and professional. You can share this directly on popular social media platforms like Facebook, Twitter, LinkedIn, or even via email.

Conclusion

Custom Domain Publishing withAppery.io makes mobile app deployment straightforward and efficient. No more worries about buying SSL certificates or dealing with complicated setup processes. Your app can now have a professional touch with enhanced security in just a few steps.

Sounds interesting? Head over to our latest video for the complete guide!

If you found this article helpful, consider subscribing to our blog for more guides and tips. Thank you for reading, and happy app developing!

 

Push Notifications with Appery.io Server Code: Watch Our New Tutorial

Hey everyone! The Appery.io team is excited to announce our latest video tutorial on integrating push notifications into your mobile app by using Server Code. 🎉

Push notifications are a powerful tool for engaging app users. With Appery.io, integrating these notifications is simple, even if you’re not tech-savvy. In this video, we are showing you how to add push notifications to your mobile app using Appery.io , a low-code platform that makes app development accessible for everyone.

Our new how-to video covers:

Setting Up Push Notifications: Learn how to configure notifications before sending.

Triggering Custom Actions: See how to trigger popups or other actions when a notification is delivered.

Sending Technical Data: Discover how to pass custom data, like navigation instructions, via push notifications.

Automating Notifications with Server Code: Understand how to send notifications programmatically for real-world use cases.

Targeting Specific Devices and Users: Master the art of sending notifications to individual devices and users.

Highlights from the Video

1. Real-Time Updates: With Live debug, any changes you make in Appery.io are instantly reflected on your mobile device.

2. Custom Alerts: Trigger TypeScript code when a notification is delivered, showing custom alerts or actions.

3. Server Code Integration: Learn to automate push notifications using server-side code.

4. User Targeting: Send notifications to specific users across all their devices by linking user IDs.

Watch Now

Don’t miss out! Watch the full video tutorial and elevate your app’s user engagement effortlessly. Click below to watch the video.

 

 

Want more insights? Check out our YouTube channel for more videos and tutorials.

Don’t forget to like and subscribe. Your support keeps us going!

Ultimate Guide: Set Up Push Notifications for iOS with Appery.io

Push Notifications for iOS are essential for keeping your app users engaged and informed. Imagine seamlessly integrating this vital feature into your mobile app without coding headaches. That’s exactly what you can do with Appery.io, a user-friendly, low-code app-building platform. Let’s take a closer look at how you can set up push notifications for iOS using Appery.io.

Why Use Push Notifications for iOS?

Push notifications are a powerful way to communicate with your users. They ensure timely updates, promote re-engagement, and improve overall user experience. For iOS apps, configuring push notifications can often seem complex. But with Appery.io, even those without deep technical expertise can accomplish this task with ease. For details, you can watch our how-to video or follow the steps below.

Getting Started with Appery.io

Before diving into the configuration process, you need to create your app on Appery.io:

1. Create Your App:

– Log into Appery.io.

– Start a new project by selecting the template that suits your requirements.

2. Enable Push Cordova Plugin:

– Navigate to the App settings > Cordova plugins section.

– Enable the Push Cordova plugin to add push notification capabilities.

3. Configure iOS Binary:

– Go to the iOS binary section and note that the app already has a bundle ID that is required for setting an app for iOS.

Note that the build type indicated is Debug which means the app is created for testing purposes. When building an app to be uploaded to the App Store, select the Release option instead.

– However, due to Apple’s policies, you need a a distribution certificate and provisioning profile to install apps on iOS devices.

Setting Up Your Apple Developer Account

Setting up your Apple Developer account is a must if you plan to develop for iOS. So, if you have no account, you need to create it. When done, you are ready to start with configuring your Apple Developer Console.

1. Create a Certificate:

– Log into the Apple Developer Console, click the Identifiers link.

– Create an identifier for your app by clicking the button, specifying it as an App ID (paste the Bundle ID you copied before) and adding the description.

– Scroll down to enable the push notifications capability and register your new app.

– Switch to the Certificates section and click + to create a new Apple Development certificate, then click Continue.

Note that the Apple Development certificate type can be used for development purposes only! If you are planning to publish your app with the App Store, the build type iOS Distribution is required!

– In the next page, you must upload a Certificate Signing Request. To get it, go back to Appery.io Resources tab. Click Generate certificate, for Platform select iOS, and click Next.

– The Generate iOS certificate wizard opens. In Step 1/3, download the CSR file to your drive.

  

– In Step 2/3, the instructions are displayed how to exchange the certificate signing request (CSR) you just downloaded for an Apple certificate (.cer).

 

– For this, go back to the Apple Developer Console Certificates section and click Choose File to select and upload the downloaded CSR file. Click Continue.

– Download the generated certificate in the next step.

 

– Go back to Appery.io and in Step 3/3 of the Generate iOS certificate wizard, choose it, enter the name and password for your certificate, and click Generate.

 

The development certificate is generated successfully.

  • Now, you can add it to the Appery.io app App settings > iOS binary tab. To do it, scroll down to the Distribution certificate section, and select the iospush certificate you just generated (refresh the list if the certificate cannot be found).

2. Create a Provisioning Profile:

– Now, we need to create a Provisioning profile. For this, in the Apple Developer Console, register your device in the Devices section. You will be asked to add your device UDID. To find it, start iTunes, go to the Summary section, and click the device info panel several times until the UDID appears.

– Next, go to the Profiles section and create a new profile.

When specifying it, indicate it is of the iOS App Development type, then proceed to selecting an App ID from the list, then selecting your certificates and devices (you are free to select all the available certificates/devices).

– When done, enter the Provisioning Profile Name, click Generate and download it to your drive.

– You can now upload it to Appery.io. Go to the App settings > iOS binary tab, scroll down to the Distribution certificate section, and click the Change button to upload the file you just generated using the Media Manager tool. Then, click the Push link in the header to open the Push Notifications tab.

Set Up Push Notifications in Appery.io

Now, let’s configure push notifications within Appery.io:

1. Enable Push Notifications:

– In your project, go to the Push Notifications > Settings section and enable the Push Notifications checkbox.

2. Configure the Database:

– In the Database settings section,  select a database where device tokens will be stored. You can use any existing database or create a new one.

– When you scroll down, you will see that you will also need to provide the Push Certificate to make you app send pushes.

3. Upload Push Notification Certificate:

– To generate and download a push notification certificate from the Apple Developer Console, go to the  Identifiers section, select the pushappios identifier created earlier and, in the Edit your App ID Configuration page, scroll down to the Push Notifications app service item, and click the Configure button.

– Select Development SSL Certificate and click Create Certificate.

 – Next, you need to generate and upload a certificate signing request for Apple Push Notification service SSL. To do this, go back to the Appery.io app and, in the Resources tab, generate a new request it by using the Generate iOS certificate wizard. When ready, the certificate signing request can be uploaded to Apple: for this, just select the file you just downloaded and upload it.

– After Apple has processed this request, you can finally download the push certificate and then upload it to Appery.io for use in your app.

– Go back to the Generate iOS certificate wizard, choose the certificate from your drive, then provide the name and password for your it. Click Generate.

In the Resources > Certificates tab, find the the iospush certificate, and click the Export button.

– We can finally specify it for the app. Go to the Push Notifications > Settings page, scroll down to the iOS settings section and upload the certificate you just downloaded in the .p12 format.

4. Build and Install Your App:

– Build your app’s binary IPA file: EXPORT > Binary IPA.

– After the app is built, install the app on your device by scanning the QR code provided and grant permission to receive push notifications within the app.

5. Test Push Notifications:

– Go to Push Notifications > Send Push Notifications tab, choose your device type (iOS), specify the title and message of the push notification and click Send.

– Confirm it appears on your iOS device.

Conclusion

By following the above steps, you can effortlessly integrate Push Notifications for iOS into your app using Appery.io. This low-code platform simplifies app development, allowing you to focus more on great user experiences and less on coding complexities.

Ready to enhance your mobile app with push notifications? Start your journey with Appery.io today and keep your users engaged like never before!

Elevate Your Android App with Powerful Push Notifications via Appery.io

Hey there, fellow app developers! Want to keep your users engaged? Push notifications are the perfect way to grab their attention. Today, in our new video tutorial, we’ll guide you through setting up push notifications for Android apps using Appery.io. Let’s dive in!

Here’s a short plan of actions:

Step 1: Create a New Application

First, launch Appery.io and create a new application. Go to Project > App settings > Cordova plugins and enable the Push Notification plugin to get started.

Step 2: Configure Push Settings

Exit the editor and head to the Push Notifications Settings section. Toggle the Enable Push Notification option. Then, we need to specify a database to store device identifiers.

Step 3: Set Up a Database

Navigate to the Databases tab and create a new database. By default, Appery.io provides the predefined Devices collection for storing device IDs and tokens.

Step 4: Link Firebase to Your App

Push notifications on Android require Firebase. You need to get two files:

1.  google-services.json

2. Firebase Admin SDK JSON

So, head to the Firebase console to create a Firebase account if you don’t already have one. Set up a new project and register your Android app. Grab the package name from the Android Settings in Appery.io and enter it into Firebase.

Step 5: Download and Upload Files

Download the `google-services.json` file from Firebase:

And upload it to your Push Notification Settings in Appery.io:

Then, click Next and follow the steps in Firebase to get the Admin SDK file and upload it to Appery.io.

Step 6: Generate Your APK

With everything configured, generate your binary APK file:

Step 7: Test Your Application

Scan the generated code to install the APK on your device:

Launch the app and grant permission to receive push notifications:

Minimize the app, refresh the Devices collection in your database, and you’ll see a new entry for your device:

 

Step 8: Sending Push Notifications

Go to the Push Notification Sending section in Appery.io. Specify the type of device (Android), and customize the notifications sending options of your message:

Send the test notification and watch it appear on your app’s icon:

Conclusion

And there you have it! You’ve successfully set up push notifications for your Android app using Appery.io. Stay tuned for more tutorials on setting up notifications for iOS, associating devices with users, and sending notifications from Appery.io Server Code.

Don’t forget to like, subscribe, and share this post if you found it helpful! Happy coding!

Feel free to leave any questions in the comments below. We’re here to help!

Introducing the App Starter Offline Template: Your Ultimate Solution for Modern Mobile Applications

We’re thrilled to announce that the Appery.io team has just released a ready-to-go template: App Starter Offline, that serves as a dynamic, adaptable, and interactive foundation for creating state-of-the-art mobile applications, fully equipped to support offline mode and accessible on any device.

Offline Mode: A Game-Changer

One of the standout features of the App Starter Offline template is its robust offline mode. Not only can you read app data when offline, but you can also modify it and synchronize changes. This ensures data consistency, even in situations where multiple users are accessing and modifying data under different online/offline scenarios. Whether your users are in a remote location with no network access or simply in an area with spotty coverage, they’ll be able to continue their tasks without interruption.

Rich Feature Set: Beyond Offline Mode

While offline mode is the star, App Starter Offline comes packed with a host of other valuable features:

Authentication Options: Robust and secure authentication methods, including options such as username & password, and FaceID.

Extensive User Settings: A comprehensive settings dashboard for users to personalize their app experience, including account preferences, notification controls, and privacy settings.

– Personalized Profiles: Enable users to create and edit their profiles with personal data and images for a unique, customized experience.

Multilingual Support: Make your app accessible to a global audience with a wide range of language options.

Dark Mode: Reduce eye strain in low-light conditions and conserve battery life, toggling between light and dark themes.

Secure Messaging for Verification: Enhance security with double opt-in sign-up and operations via email or SMS confirmation codes, perfect for password changes or new device verifications.

Detailed Guide Included!

To ensure a smooth and tailored implementation process, we’ve also provided a comprehensive guide on how to use and customize the App Starter Offline template. Whether you’re a seasoned developer or just starting, our guide will assist you in maximizing the potential of this robust template.

Bonus Time!

New How-To Video: Simplify Your Work in Appery.io Editor

In addition to the new template, we’re excited to share a brand-new how-to video on our YouTube channel . This video demonstrates how to simplify your work in the Appery.io editor using the “Text in Editor” feature, all without disrupting your app’s UI. Check it out to streamline your development process and ensure a hassle-free experience. 

 

Conclusion: An Essential Tool for Modern Developers

Ideal for entrepreneurs, startups, and businesses aiming to launch applications in sectors like social networking, e-commerce, health & fitness, education, or any user-centric service, the App Starter Offline template is designed to provide an impeccable user journey from the very first interaction. Additionally, whether you’re developing a comprehensive product or testing a minimum viable product (MVP), this template will be instrumental in accelerating your development process and enhancing user engagement. So why wait? Dive into the world of seamless offline experiences with Appery.io‘s App Starter Offline template today and watch your app reach new heights.

Stay tuned for more updates and don’t forget to subscribe to our YouTube channel for the latest tutorials and tips!

Easy GPT-4o Mobile and Web App Integration with Appery.io

In the digital age, integrating advanced technology into your applications can set you apart from the competition. One of the most groundbreaking technologies today is GPT-4o, a version of the AI model developed by OpenAI that can transform how we interact with software. For those who are not developers, the thought of adding such advanced capabilities to an application might seem daunting. However, with platforms like Appery.io, it’s not only possible; it’s also straightforward.

Appery.io is the first mobile building platform that offers even two options to integrate the GPT-4o model into your app:

  1. By using the GPT-4o app template for easy building your own Chat GPT app based on the GPT-4o model
  2. By adding a ready-to-go-with GPT-4o screen layout.

On top of it, our latest YouTube tutorial offers a user-friendly guide on how to either create a new mobile or web application with GPT-4o support or add it to an existing app using Appery.io, a powerful yet easy-to-use, low-code app-building platform. This video is ideal for anyone interested in stepping into the world of app development without needing to dive deep into complex programming languages. Appery.io provides a seamless environment where you can visually develop your application, integrate backend services, and include sophisticated features like GPT-4o without writing extensive code.

Whether you are looking to enhance a personal project or elevate a professional application, incorporating GPT-4o could significantly improve functionalities such as natural language understanding, automated reasoning, and personalized user interactions. This tutorial isn’t just about integrating AI; it’s about making cutting-edge technology accessible to everyone. By the end of the video, you’ll not only understand what GPT-4o can do for your apps but also how to incorporate it using Appery.io seamlessly. Embrace the future of app development – start integrating GPT-4o today and see your applications do more than they ever could before. Watch our tutorial now and take the first step towards unlocking new possibilities.