
Some checks are pending
iOS UniFFI Build / build-ios (push) Waiting to run
Add church management API library with cross-platform support for iOS, Android, and WASM. Features include event management, bulletin handling, contact forms, and authentication.
39 lines
1.3 KiB
Rust
39 lines
1.3 KiB
Rust
// Test script for new config functions
|
|
use church_core::uniffi_wrapper::{
|
|
get_church_name,
|
|
get_contact_phone,
|
|
get_contact_email,
|
|
get_brand_color,
|
|
get_about_text,
|
|
get_donation_url,
|
|
get_church_address,
|
|
get_coordinates,
|
|
get_website_url,
|
|
get_facebook_url,
|
|
get_youtube_url,
|
|
get_instagram_url,
|
|
get_mission_statement,
|
|
};
|
|
|
|
fn main() {
|
|
println!("🔍 Testing church-core config functions...\n");
|
|
|
|
println!("Church Name: {}", get_church_name());
|
|
println!("Contact Phone: {}", get_contact_phone());
|
|
println!("Contact Email: {}", get_contact_email());
|
|
println!("Brand Color: {}", get_brand_color());
|
|
println!("About Text: {}", get_about_text());
|
|
println!("Donation URL: {}", get_donation_url());
|
|
println!("Church Address: {}", get_church_address());
|
|
|
|
let coords = get_coordinates();
|
|
println!("Coordinates: [{}, {}]", coords[0], coords[1]);
|
|
|
|
println!("Website URL: {}", get_website_url());
|
|
println!("Facebook URL: {}", get_facebook_url());
|
|
println!("YouTube URL: {}", get_youtube_url());
|
|
println!("Instagram URL: {}", get_instagram_url());
|
|
println!("Mission Statement: {}", get_mission_statement());
|
|
|
|
println!("\n✅ All config functions working properly with fallback values!");
|
|
} |